textual run --debug #3792
davetapley
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use debugpy quite a lot.
A pattern I use is to give my apps a
--debug
switch and:Then in VSCode I can launch this to attach:
I find it easier than launching directly from VSCode because I can just run the command I want from the terminal (with
--debug
) instead of having to go editlaunch.json
every time.But sometimes I want to use
textual run
andtextual console
to build an MRE or test something out,and (AFAIK) I can't get the benefit of
console
logging and breakpoints.Accordingly, would you accept a PR to:
debugpy
is installed, and if it is:--debug
option totextual run
which would do that ⬆️ ?Or, I welcome other ideas! 🙏🏻
Beta Was this translation helpful? Give feedback.
All reactions