首页 > 解决方案 > 在 Visual Studio Code 中调试 python 程序时更改代码

问题描述

是否可以在 VSCode 中调试时更改代码,并且更改将立即生效而无需重新运行代码?我正在使用 Microsoft Python 扩展。

标签: pythonvisual-studio-codevscode-debugger

解决方案


So, apparently that the closest way of doing it is to use Jupyter capabilities (that can be use via VSCode).

With Jupyter you can split your code to multiple cells and run every each one of them separately without run all from beginning.


推荐阅读