ToggleDebugMode
Toggle Sublime Text loggers.
Labels debug
Details
Installs
- Total 119
- Win 67
- Mac 39
- Linux 13
Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Debug Logging
Boost your Sublime Text debugging with this plugin. Adds commands to enable or disable editor logging features from the Command Palette.
Features
- Command Logging: Logs executed commands to the console.
- Input Logging: Captures all key presses—perfect for identifying key names.
- FPS Logging: Tracks rendering timings, like frames per second.
- Result Regex Logging: Debugs
"file_regex"
and"line_regex"
in build systems. - Indexing Logging: Prints indexing logs to the console.
- Build System Logging: Monitors build system activity.
- Control Tree Logging: Logs the control tree under the mouse when clicking with
Ctrl+Alt
(Windows/Linux) orCmd+Alt
(macOS).
For detailed API info, see the Sublime Text API Documentation.
Installation
Choose your preferred method to install the ToggleDebugMode
plugin:
Option 1: Package Control
- Open Sublime Text and press
Ctrl+Shift+P
(Windows/Linux) orCmd+Shift+P
(macOS). - Type
Package Control: Install Package
and hitEnter
. - Search for
ToggleDebugMode
and select it to install.
Option 2: Git Clone
- Open a terminal and navigate to your Sublime Text Packages folder:
- Windows:
%APPDATA%\Sublime Text\Packages
- macOS:
~/Library/Application Support/Sublime Text/Packages
- Linux:
~/.config/sublime-text/Packages
- Windows:
- Run:
git clone https://github.com/gerardroche/sublime-toggle-debug-mode.git ToggleDebugMode
Available Commands
Access these commands via the Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
) to customize your debugging:
Command | Description |
---|---|
ToggleDebugMode: Enable Logging |
Activates all logging features |
ToggleDebugMode: Disable Logging |
Deactivates all logging features |
ToggleDebugMode: Toggle Command Logging |
Toggles command logging |
ToggleDebugMode: Toggle Input Logging |
Toggles key press logging |
ToggleDebugMode: Toggle FPS Logging |
Toggles FPS logging |
ToggleDebugMode: Toggle Result Regex Logging |
Toggles regex logging |
ToggleDebugMode: Toggle Index Logging |
Toggles indexing logging |
ToggleDebugMode: Toggle Build System Logging |
Toggles build system logging |
ToggleDebugMode: Toggle Control Tree Logging |
Toggles control tree logging |
Usage Tips
- Use
Input Logging
to troubleshoot key bindings. - Enable
Result Regex Logging
to refine build system regex patterns. - Activate
Control Tree Logging
and click withCtrl+Alt
/Cmd+Alt
to inspect UI elements.
License
This plugin is released under the GPL-3.0-or-later License.
Happy debugging!