A simple Visual Studio Code extension to manage 'debugger' statements and breakpoints in your project.
Installation
You can install the Debugger Wipe extension from the Visual Studio Code Marketplace.
Usage
Comment All Debuggers
Press Ctrl+Shift+P to open the command palette.
Type Comment All Debuggers and select the command.
This command will comment out all 'debugger' statements in your project and remove all existing breakpoints. The breakpoints are saved and can be restored later.
Restore Debuggers
Press Ctrl+Shift+P to open the command palette.
Type Restore Debuggers and select the command.
This command will restore all previously commented-out 'debugger' statements in your project. It will also restore any breakpoints that were saved when commenting out the debuggers.
Remove All Debuggers
Press Ctrl+Shift+P to open the command palette.
Type Remove All Debuggers and select the command.
This command will remove all 'debugger' statements from your project.
Keyboard Shortcuts
To make using the Debugger Wipe more convenient, you can use the following keyboard shortcuts:
Comment All Debuggers:Ctrl+Shift+S (Windows/Linux) or Cmd+Shift+S (macOS)
Restore Debuggers:Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (macOS)
Remove All Debuggers:Ctrl+Shift+D (Windows/Linux) or Cmd+Shift+D (macOS)
To customize these shortcuts:
Open Keyboard Shortcuts by pressing Ctrl+K Ctrl+S (or Cmd+K Cmd+S on macOS).
Search for Comment All Debuggers, Restore Debuggers, or Remove All Debuggers.
Click on the pencil icon next to the command and enter your desired keyboard shortcut.
Support
If you encounter any issues, please report them at [issue tracker link] or contact support at npmstart2@gmail.com.