summaryrefslogtreecommitdiff
path: root/poezio/core/command_defs.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/command_defs.py')
-rw-r--r--poezio/core/command_defs.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/poezio/core/command_defs.py b/poezio/core/command_defs.py
index 28bb053c..770b3492 100644
--- a/poezio/core/command_defs.py
+++ b/poezio/core/command_defs.py
@@ -442,4 +442,11 @@ def get_commands(commands: CommandCore, completions: CompletionCore, plugin_mana
"shortdesc": "Reload the config. You can achieve the same by "
"sending SIGUSR1 to poezio.",
},
+ {
+ "name": "debug",
+ "func": commands.debug,
+ "usage": "[debug_filename]",
+ "shortdesc": "Enable or disable debug logging according to the "
+ "presence of [debug_filename].",
+ },
]