hoangKnLai / vscode-ipython

VSCode Extension integrating Editor with IPython console.
MIT License
18 stars 6 forks source link

Support debug mode? #6

Closed ma-sadeghi closed 2 years ago

ma-sadeghi commented 2 years ago

Is it possible to support debug mode in IPython console?

hoangKnLai commented 2 years ago

Have you try the magic debug command?

I've personally not a fan of the IPython debugger so I've only use interactive debugging instead.

ma-sadeghi commented 2 years ago

They hyperlink points to a Zoom meeting :smile: a typo maybe? By interactive debugger, you mean vscode's native debugger?

hoangKnLai commented 2 years ago

They hyperlink points to a Zoom meeting :happy a typo maybe?

Whoops. Fixed the link.

By interactive debugger, you mean vscode's native debugger?

VSCode natively does not do debugging with any language from what I can tell. It is up to the language extension to set that up. Unfortunately, to tap into the IPython debugger directly would take more expertise with REPL and IPython API than what I currently have. For direct debugging feature, maybe one day or if a contributor from IPython wants to take on this challenge.

hoangKnLai commented 2 years ago

Recommend to use Python base debugger with VSCode. Microsoft team did a good job on this. I don't think the IPython debugger can catch up and has too much overlap usage.