Sublime Forum

Plugin Breakpoint Debugging

#1

I have Sublime Text 3 installed and am using a plugin written in Python. I’d like to debug into this plugin during execution. I’m assuming this is possible but am a compete newb with Sublime. I tried grovelling around for various solutions but haven’t found one that works adequately. I’m running windows, here is a synopsis of what I tried:

Launching Sublime via subl.exe with the --wait and --debug options.
Breaking into the Interactive Python Debug (pdb) and using sys to redirect stdout.
sublime.status_message(“msg”).

The only luck I had was using Package Control to install PyWin32 and then adding OutputDebugString calls to the plugin and viewing under DbgView.

Is there any way to setup breakpoint debugging?

2 Likes