最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

VS Code python debug interactive session - Stack Overflow

programmeradmin1浏览0评论

In Visual Studio Code, when debugging a python code (.py), is it possible to start an interactive session window interact with the program in that window?

It is suggested to "Add #%% at the top to indicate a Jupyter cell." This does start an interactive window, but the interactive session does not connect to the current .py file. It shows a pending sign when evaluating a variable in the interactive window.

I can evaluate a variable during a python debug session in the standard DEBUG CONSOLE window. But it will be nice to do everything in an interactive window without opening the debug console window.

Thank you!

current VS Code version: 1.98.0

发布评论

评论列表(0)

  1. 暂无评论