python - 在 Visual Studio Code 中调试 python 程序时更改代码
问题描述
是否可以在 VSCode 中调试时更改代码,并且更改将立即生效而无需重新运行代码?我正在使用 Microsoft Python 扩展。
解决方案
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.
推荐阅读
- python - Python 的 sqlite3 库填满了 c:\ 驱动器的空闲空间
- javascript - 根据 PDF 中的字段值显示消息
- python - Python 列表理解 plt.imread 不起作用
- r - 使用 igraph 的网络错误消息 Rstudio
- amazon-web-services - Amazon Connect Makefile 帮助 - Makefile “*** 没有将目标设为‘全部’的规则。停止。”
- r - 根据 R 中数据值的等级或顺序对行进行汇总和分组
- python - how to calculate all possible combinations with the lowest diviation between the combinations
- python - Matplotlib:滑块轴外的鼠标继续改变绘图
- elasticsearch - 具有多个条件的 Elasticsearch OR 条件
- c - How large will the stack frame of this function be in bytes?