You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,9 @@ Use `nix/env.sh <s or x>` to enter a shell where you can run `make` and it will
14
14
15
15
For development, use `nix/watch.sh s make APP=<tezos_baking|tezos_wallet>` to incrementally build on every change. Be sure to `nix/env.sh s --run "make clean SHELL=bash"` if you start watching a different `APP`.
16
16
17
+
#### Debugging
18
+
Set `DEBUG=1` in the `Makefile` to so that the user-defined `parse_error()` macro provides a line-number. For `printf` style debugging see [Ledger's official instructions](https://ledger.readthedocs.io/en/latest/userspace/debugging.html)
19
+
17
20
### Building
18
21
To do a full Nix build run `nix/build.sh`. You can pass `nix-build` arguments to this to build specific attributes, e.g. `nix/build.sh -A nano.s.wallet`.
19
22
@@ -38,6 +41,4 @@ directly to/from the ledger
38
41
39
42
### Notes on testing
40
43
41
-
Currently there are two types of tests: those that require the [Flextesa framework](https://gitlab.com/tezos/flextesa) and those that rely on the apdu script from LedgerLive.The apdu tests are inside of *test/apdu-tests/* while the flextesa tests are actually inside of the main tezos repo in /src/bin-flextesa/
42
-
43
-
The flextesa tests can be run using the *test/run-flextesa.sh* script.
0 commit comments