Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code run ipython in debug console

Is there a way to run an ipython like debug console in VC Code that would allow tab completion and other sort of things?

like image 701
El Dude Avatar asked Dec 07 '17 18:12

El Dude


2 Answers

No, currently (unfortunately) not. Here's an ongoing thread about this on github. The issue has P1 status, so will hopefully be implemented soon: https://github.com/microsoft/vscode-python/issues/6972

like image 117
ihopethiswillfi Avatar answered Sep 28 '22 06:09

ihopethiswillfi


It seems this is a desired feature for VS Code but not yet implemented. See this post: https://github.com/DonJayamanne/vscodeJupyter/issues/19

I'm trying to see if one could use the config file of VS Code to define an ipython debug configuration e.g.:

{ "name": "ipython", "type": "python", "request": "launch", "program": "${file}", "pythonPath": "/Users/tsando/anaconda3/bin/ipython" }

but so far no luck. You can see my post in the above link.

like image 32
tsando Avatar answered Sep 28 '22 07:09

tsando