LeetCode Debug Toggle
Overview
Toggle debug statements in the LeetCode editor with configurable keyboard shortcuts.
Comment and uncomment your debug lines on LeetCode with one keyboard shortcut. Before you submit, press Alt + P to comment out the lines you added for tracing. If the submission fails, press Alt + O to bring them back. No more hunting through your code line by line. Save up to 20 seconds on each submission. Features One keypress to comment, another to restore Keeps your indentation, cursor position and folded code Handles statements that span multiple lines Keeps your code valid when one of those lines is the only line in a block Change both shortcuts any time from the extension popup Language support Works with common LeetCode languages. If you switch to a language that is not supported, the extension shows a message and leaves your code unchanged. Details are on GitHub. Limitations Only lines that begin with a supported output statement are detected. Uncomment restores all matching commented lines in the file, including ones you commented yourself. Availability Works on leetcode.com. Tested on Windows. Unofficial extension, not affiliated with or endorsed by LeetCode. Open source: github.com/umergulkaleem/LeetDebug Privacy Runs only on leetcode.com. Saves your two shortcut preferences locally using Chrome storage. Listens for key presses only to detect your shortcuts and does not record what you type. Does not collect or transmit your code or any personal data.
0 out of 5No ratings
Details
- Version1.3.0
- UpdatedOctober 11, 2026
- Size15.85KiB
- LanguagesEnglish
- Developer
Email
umergulkaleem@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes