Sublime Forum

Debug sublime plugin development

#1

How to debug a sublime text plugin during development ?

0 Likes

#2

There is no debugger. So, basically you output things to stdout or a file.

0 Likes

#3

Oh okay, Thanks !

0 Likes

#4

If your interested in using the debugger package, it looks like they added some sort of support for debugging packages. https://discord.com/channels/280102180189634562/280157067396775936/1084725593209323530

1 Like

#5

The link is dead, is there another re package debugging? Thanks!

0 Likes

#6

It’s not dead but you have to join ST’s discord channel. Those chat messages are not accessible without logging in.


David 2023/03/13 14:32

Some initial support for debugging packages is on the main branch https://github.com/daveleroy/sublime_debugger if anyone wants to try it out. Currently only tested on Mac so someone on Windows might need to make some changes to get the download and setup of sublime working correctly. Linux not setup at all but if someone wants to add support they are welcome to.

3

1

  1. [ 14:32 ]

There is an example configuration here https://github.com/daveleroy/sublime_debugger/tree/master/examples/sublime_debug

1 Like

#7

Thanks a bunch for the example, didn’t know this debugger supported Sublime! Seems to be working on Windows without changes as well

0 Likes