Sublime Forum

Pdb/debugging - build system run py script from terminal

#1

Hi,

love st2, would like to be able to use pdb debugging (eg. import pdb;pdb.set_trace()). But it seems it is not possible for st2 to receive interactive user input, and instead of allowing step-through or interactive debugging, exits.

Is there a simple way around this, such as configuring a build system to run a python script through an external terminal. Or adjusting the Terminal plugin to pickup and execute the current file… And if so… how would either of these be done? I’m on ubuntu.

Many thanks.

0 Likes

#2

Try: SublimeREPL 1.0.7
Tools -> SublimeREPL -> Python -> Python - PDB

0 Likes

#3

this is awesome! even better than i hoped for!

thanks very much!

0 Likes

#4

Use it for a while and then let me know how it’s working for you.
I gave it like 10seconds of testing, so yeah… ;D

github.com/wuub/SublimeREPL/issues

0 Likes