
Using package control run Package Control: Install Package and select Debugger. And, of course, you must be running Windows. Graphical Debugger for sublime text for debuggers that support the debug adapter protocol. Just make sure you check Python tools in the setup dialog.

The Community Edition of Visual Studio 2015 is free to individual developers and small organizations. I recently worked with the Python tools developer to fix the bugs I encountered using these tools to write my plugin. Previous to 2.2, the Python tools did not work properly against Sublime, for example stepping was broken.ĭisclosure: I work in Visual Studio but do not work on these tools. Just choose "pluginhost.exe" and the Python debugging engine in the attach dialog. However, I'm having trouble setting it up. Through research I learned about XDebug and I believe it can provide comparable debugging.

The thing I noticed it lacked was debugging compared to the intellij IDEs. You get all the regular debugging features of Visual Studio and it's a polished experience. 1 Trying to move to sublime from heavier IDEs. The latest version 2.2 of the Python tools for Visual Studio works great for debugging Sublime plugins. There is a much better alternative if you run Windows. Mordern browsers nowadays come with built-in Javascript Debugging support.

#Sublime text 3 python debugger how to#
Working on my plugin, I didn't have much luck with pdb, and "print" is not an efficient debugging experience (for example, if you aren't sure where the defect is, you might add a lot of "print" - and then have to remove them after). How to Create Javascript Console in Sublime Text Editor.
