Automatic debugger attachment on python console launch

Is it possible to have the debugger automatically enabled when launching python console?

4 comments
Comment actions Permalink

Hi Omar,

I don't think it's possible, and don't see the reason to do this. Can you please describe how would you use it if there was such feature?

1
Comment actions Permalink

Ok. Often I run the console to test manually class methods and I always enable the debugger at each run. Do you think there's a better workflow?

0
Comment actions Permalink

Well, you have the variable viewer right away, in many cases this is enough, but actually I've replied a bit hastily before, and now it occurred to me that you can hit breakpoints set in the editor by calling the methods/functions from the console. I can see why that can be helpful.

I didn't find a related feature request, so please feel free to submit one - https://youtrack.jetbrains.com/issues/PY

1
Comment actions Permalink

Thanks Andrey
I’ll open it soon

Thank you

0

Please sign in to leave a comment.