ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Toggle​Debug​Mode

by gerardroche ST3

Toggle Sublime Text loggers.

Labels debug

Details

Installs

  • Total 80
  • Win 47
  • Mac 22
  • Linux 11
Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20
Windows 0 0 0 0 0 0 0 0 0 0 0 0 1 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 0 0 0 0
Mac 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 0 0 0 0 0 0 0 0 0 0 0
Linux 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Debug Logging

Enhance your Sublime Text debugging experience with these toggleable debug logging options:

  • Command Logging: Toggle the logging of commands to the console when executed.
  • Input Logging: Toggle the logging of all key presses to the console. Useful for identifying specific keyboard key names.
  • Result Regex Logging: Toggle the logging of result regexes. Useful for debugging "file_regex" and "line_regex" in build systems.
  • Index Printing: Toggle the printing of indexing logs to the console.
  • Build System Logging: Toggle the printing of build system logs to the console.
  • Control Tree Logging: Toggle the logging of control tree information. When enabled, pressing ctrl+alt and clicking will log the control tree under the mouse to the console.
  • FPS Logging: Toggle the logging of rendering timings, such as frames per second.

For more comprehensive information about logging, refer to Sublime Text's API Documentation.

Installation

Method 1: Using Package Control

  1. Open Sublime Text.
  2. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) to open the Command Palette.
  3. Type “Package Control: Install Package” and press Enter.
  4. In the input field, type “ToggleDebugMode” and select it from the list of available packages.

Method 2: Manual Installation

  1. Visit the ToggleDebugMode GitHub repository.
  2. Click on the “Code” button and select “Download ZIP.”
  3. Extract the downloaded ZIP file.
  4. Open Sublime Text and go to Preferences -> Browse Packages... to open the Packages folder.
  5. Copy the “ToggleDebugMode” folder from the extracted ZIP and paste it into the Packages folder.

Method 3: Manual Git Repository Installation

  1. Open a terminal or command prompt.
  2. Navigate to the Sublime Text Packages directory:
    • On Windows: %APPDATA%\Sublime Text\Packages
    • On macOS: ~/Library/Application Support/Sublime Text/Packages
    • On Linux: ~/.config/sublime-text/Packages
  3. Clone the plugin repository directly into the Packages directory using Git:
git clone https://github.com/gerardroche/sublime-toggle-debug-mode.git ToggleDebugMode

Commands

Fine-tune your debugging experience with these powerful commands:

Command Description
ToggleDebugMode: Disable Logging Disable all logging
ToggleDebugMode: Enable Logging Enable all logging
ToggleDebugMode: Toggle Build System Logging Toggle build system logging
ToggleDebugMode: Toggle Command Logging Toggle command logging
ToggleDebugMode: Toggle Control Tree Logging Toggle control tree logging
ToggleDebugMode: Toggle Fps Logging Toggle FPS logging
ToggleDebugMode: Toggle Index Logging Toggle index logging
ToggleDebugMode: Toggle Input Logging Toggle input logging
ToggleDebugMode: Toggle Result Regex Logging Toggle result regex logging

Experience enhanced debugging functionalities. Try out these commands to streamline your debugging process.

License

Released under the GPL-3.0-or-later License.