Zondax / ledger-tezos

Apache License 2.0
8 stars 5 forks source link

Debug mode toggle #156

Open ghost opened 2 years ago

ghost commented 2 years ago

When GET_VERSION is called we usually return the first byte set if debug mode has been enabled, but currently we don't have concept of such mode in the app and even less so a way to detect if the app is running in debug mode.

See: https://github.com/Zondax/ledger-tezos/blob/ef4425540c7425b359e4112c52e07f4520207765/rust/app/src/handlers/version.rs#L41

:link: zboto Link

jleni commented 2 years ago

debug mode is related to APP_TESTING=1 in most other apps we build.