diff options
Diffstat (limited to 'docs/newbs_testing_debugging.md')
-rw-r--r-- | docs/newbs_testing_debugging.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/newbs_testing_debugging.md b/docs/newbs_testing_debugging.md index 45509110a..d78311339 100644 --- a/docs/newbs_testing_debugging.md +++ b/docs/newbs_testing_debugging.md | |||
@@ -15,7 +15,17 @@ Note: These programs are not provided by or endorsed by QMK. | |||
15 | 15 | ||
16 | ## Debugging With QMK Toolbox | 16 | ## Debugging With QMK Toolbox |
17 | 17 | ||
18 | [QMK Toolbox](https://github.com/qmk/qmk_toolbox) will show messages from your keyboard if you have `CONSOLE_ENABLE = yes` in your `rules.mk`. By default the output is very limited, but you can turn on debug mode to increase the amount of debug output. Use the `DEBUG` keycode in your keymap, or use the [Command](feature_command.md) feature to enable debug mode. | 18 | [QMK Toolbox](https://github.com/qmk/qmk_toolbox) will show messages from your keyboard if you have `CONSOLE_ENABLE = yes` in your `rules.mk`. By default the output is very limited, but you can turn on debug mode to increase the amount of debug output. Use the `DEBUG` keycode in your keymap, use the [Command](feature_command.md) feature to enable debug mode, or add the following code to your keymap. |
19 | |||
20 | ```c | ||
21 | void keyboard_post_init_user(void) { | ||
22 | // Customise these values to desired behaviour | ||
23 | debug_enable=true; | ||
24 | debug_matrix=true; | ||
25 | //debug_keyboard=true; | ||
26 | //debug_mouse=true; | ||
27 | } | ||
28 | ``` | ||
19 | 29 | ||
20 | <!-- FIXME: Describe the debugging messages here. --> | 30 | <!-- FIXME: Describe the debugging messages here. --> |
21 | 31 | ||