Quick way to add a Javascript debugger statement on Sublime Text
If you use Sublime Text to code Javascript, here is a shortcut to add a debugger statement:
Step 1: Go to Preferences > Key Bindings - User
Step 2: Add the following snippet
{"keys": ["ctrl+d"], "command": "insert_snippet","args": {"contents": "debugger"}}
That's it. Now when you press control + d, Sublime will insert debugger.
Written by Thiago Leite
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#