Ask Your Question
1

Running debugger from external console multiple times

asked 2017-03-24 16:33:00 -0500

Matt Claudius's avatar

updated 2019-03-13 10:19:53 -0500

I have seen that when I insert "import wingdbstub" into my flow to start wing's debugger from an external console, it only starts wing's debugger the first time I run my flow.  If I want to enter wing's debugger again, I need to exit and start a new python console.  How do I get the debugger to start every time without starting a new console?

Thanks,

Matt

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-03-24 16:37:00 -0500

You can add code like this: import wingdbstub wingdbstub.Ensure()

That should make sure that there is a debug connection and that the debugger is active.  

edit flag offensive delete link more

Comments

  Thanks, yes, this worked.  Is there also a way to bring calls from the debug probe into the debugger so they can be stepped through?

Matt Claudius's avatar Matt Claudius  ( 2017-03-24 18:49:00 -0500 )edit

Yes, in Wing Pro you can turn on debugging in the Debug Probe's Options menu.

Wingware Support's avatar Wingware Support  ( 2017-03-24 19:59:00 -0500 )edit

Found it, thanks.

Matt Claudius's avatar Matt Claudius  ( 2017-03-24 20:58:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-03-24 16:33:00 -0500

Seen: 1,621 times

Last updated: Mar 07 '19