简体   繁体   English

python代码是用配置文件运行的,如何调试?

[英]python code is run with config file, how to debug?

I'm using VScode and would like to use the debugger.我正在使用 VScode 并想使用调试器。 My code is set up such that I run it from the terminal specifying a json config file.我的代码设置为从指定 json 配置文件的终端运行它。 How can i run VScode's debugger without having to change the code?如何在不更改代码的情况下运行 VScode 的调试器?

在此处输入图像描述

You can add the.json files you need here.你可以在这里添加你需要的.json文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM