From b100db1e5668c9a10437e89d41af76910c58d51d Mon Sep 17 00:00:00 2001 From: Kim Minjong Date: Wed, 5 Oct 2022 11:16:11 +0900 Subject: [Docs] Add a note about the print function. (#17737) Co-authored-by: Ryan --- docs/faq_debug.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/faq_debug.md') diff --git a/docs/faq_debug.md b/docs/faq_debug.md index 4a35997222..b639b7ea04 100644 --- a/docs/faq_debug.md +++ b/docs/faq_debug.md @@ -133,3 +133,4 @@ Check: - Set `debug_enable=true`. See [Debugging](#debugging) - Try using `print` function instead of debug print. See **common/print.h**. - Disconnect other devices with console function. See [Issue #97](https://github.com/tmk/tmk_keyboard/issues/97). +- Ensure all strings end with a newline character (`\n`). QMK Toolbox prints console output on a per-line basis. -- cgit v1.2.3 From 18dc851e37a203b32db0261c365dd300488e1c71 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 19 Oct 2022 21:33:05 +1100 Subject: Remove legacy Debug keycode (#18769) * `DEBUG` -> `DB_TOGG`, default-ish keymaps * `DEBUG` -> `DB_TOGG`, user keymaps * `DEBUG` -> `DB_TOGG`, community layouts * `DEBUG` -> `DB_TOGG`, userspace * `DEBUG` -> `DB_TOGG`, docs & core --- docs/faq_debug.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/faq_debug.md') diff --git a/docs/faq_debug.md b/docs/faq_debug.md index b639b7ea04..cad98bc331 100644 --- a/docs/faq_debug.md +++ b/docs/faq_debug.md @@ -4,7 +4,7 @@ This page details various common questions people have about troubleshooting the ## Debugging :id=debugging -Your keyboard will output debug information 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. +Your keyboard will output debug information 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 `DB_TOGG` keycode in your keymap, use the [Command](feature_command.md) feature to enable debug mode, or add the following code to your keymap. ```c void keyboard_post_init_user(void) { -- cgit v1.2.3