From f07694116c31fb5b1cd7ddc5727b96e2fdc3c933 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Mon, 19 Aug 2019 17:02:05 +0200 Subject: [PATCH] docs: emulator's variables --- core/docs/emulator/index.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/core/docs/emulator/index.md b/core/docs/emulator/index.md index 67730b557..dc08e9836 100644 --- a/core/docs/emulator/index.md +++ b/core/docs/emulator/index.md @@ -72,6 +72,20 @@ Running `emu.sh` with `-r` watches for file changes and reloads the emulator if Press `p` on your keyboard to capture emulator's screen. You will find a png screenshot in the `src` directory. -### Auto print screen +### Environment Variables + +#### Auto print screen If ``` TREZOR_SAVE_SCREEN=1 ``` is set, the emulator makes print screen on every screen change. + +#### Memory statistics + +If ```TREZOR_LOG_MEMORY=1``` is set, the emulator prints memory usage information after each workflow task is finished. + +#### Disable fade + +```TREZOR_DISABLE_FADE=1``` disables fading, which speeds up the UI workflows (useful for tests). + +#### Tests + +```TREZOR_TEST``` informs whether device tests are to be run. Currently unused.