当前位置:   article > 正文

vscode对launch.json文件进行配置_vscode lanuch.json configurations

vscode lanuch.json configurations
  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": "Launch Chrome",
  9. "request": "launch",
  10. "type": "chrome",
  11. "url": "http://localhost:8080",
  12. "webRoot": "${workspaceFolder}"
  13. },
  14. {
  15. "type": "chrome",
  16. "request": "launch",
  17. "name": "Launch Chrome against localhost",
  18. "url": "http://localhost:8080",
  19. "webRoot": "${workspaceFolder}"
  20. }
  21. ,
  22. {
  23. "name": "使用本机 Chrome 调试",
  24. "type": "chrome",
  25. "request": "launch",
  26. "file": "${file}",
  27. // "runtimeExecutable": "C:\\Users\\ADMIN\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", // Be revised as your path installed chrome
  28. "sourceMaps": true,
  29. "webRoot": "${workspaceRoot}",
  30. "userDataDir":"${tmpdir}",
  31. "port":9999
  32. }
  33. ]
  34. }

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/461158
推荐阅读
相关标签
  

闽ICP备14008679号