admin管理员组文章数量:1362064
I am trying to set up VS Code for my Python programming. Although I can debug without the launch.json
, I wanted to know what are the advantages I am missing. Also I saw that a lot of questions around launch.json
were for "modules". In my case I have a working directory and I'm trying example scripts each run standalone. I am trying to understand the benefits.
I am trying to set up VS Code for my Python programming. Although I can debug without the launch.json
, I wanted to know what are the advantages I am missing. Also I saw that a lot of questions around launch.json
were for "modules". In my case I have a working directory and I'm trying example scripts each run standalone. I am trying to understand the benefits.
- 1 You can supply arguments, environment variables, etc... in a pre-configured way if you know ahead of time how you'll want to run the script. – Kraigolas Commented Apr 2 at 7:13
- related: stackoverflow/q/76375592/11107541, stackoverflow/q/68262943/11107541, stackoverflow/q/51244223/11107541 – starball Commented 2 days ago
1 Answer
Reset to default 0You can configure
the path to the script to be executed
Command line arguments (args)
Working directory (cwd)
Environment variables (env)
For more, read Python debugging in VS Code
版权声明:本文标题:What is the advantage of debugging using launch.json in VS Code in particular with Python? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743854558a2550621.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论