3 ms·
Have you tried debugging with Visual studio code? It sounds a lot like what you're asking for. Stick breakpoints where you want them, you can step through etc,
by SilverBirch 4y ago
Have you tried debugging with Visual studio code? It sounds a lot like what you're asking for. Stick breakpoints where you want them, you can step through etc, and there's variable viewer in the left hand panel - which isn't great on it's own, but then you can right click on the dataframe and open it in data viewer and it'll open a new tab with the dataframe in a table that you can view, and then if you step further through the program you can hit refresh on that view and it'l show you the updated frame.
- edot 4y agoYep, and if you click the three dots next to the debugger config selector on the top left, you can access the debug console and play with a live terminal with access to all of the variables and data that are currently paused.
- plaidfuji 4y agoYou know what would be killer, if VS Code debug mode would kick out into a notebook environment.
- mattnewton 4y agoThe repl it provides is pretty close. You can also use special comments to designate cells and just run those parts of a larger program in isolation with a repl, which I have used for debugging
- tippytippytango 4y agoVscode already has a jupyter notebooks mode with full debugger support if that’s what you mean by this.
- meken 4y agoI had this idea a few years ago and built an emacs front end for it Would be really slick in vscode… https://github.com/ebanner/pynt https://github.com/ebanner/pynt
- mark_l_watson 4y agoCoincidentally, I just tried this yesterday and it was a good experience. No setup time, I just clicked to the left of a line of code to set a breakpoint, and then clicked the debug icon instead of the run icon. The local variable viewer was good enough for me.