当前位置:   article > 正文

vscode创建python编译环境(launch.json)_创建launch.json文件python

创建launch.json文件python

废话不多说,直接甩文件,配置有问题的请参考。

  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "Python",
  9. "type": "python",
  10. "request": "launch",
  11. "stopOnEntry": false,
  12. "pythonPath": "D:\\Users\\mas\\AppData\\Local\\Programs\\Python\\Python37\\python.exe",
  13. "program": "${file}",
  14. "cwd": "${workspaceRoot}",
  15. "env": {},
  16. "envFile": "${workspaceRoot}/.env",
  17. "debugOptions": [
  18. "WaitOnAbnormalExit",
  19. "WaitOnNormalExit",
  20. "RedirectOutput"
  21. ]
  22. }
  23. ]
  24. }

 

 

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号