launch.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. // 使用 IntelliSense 了解相关属性。
  3. // 悬停以查看现有属性的描述。
  4. // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "VideoPlayer(Debug_x64)",
  9. "type": "cppvsdbg",
  10. "request": "launch",
  11. "program": "${workspaceRoot}/bin/win64/Debug/VideoPlayer.exe",
  12. "args": [],
  13. "stopAtEntry": false,
  14. "cwd": "${workspaceRoot}/bin/win64/",
  15. "environment": [{"name":"PATH","value":"C:/Qt/Qt5.13.2/5.13.2/msvc2017_64/bin"}],
  16. "console": "externalTerminal"
  17. },
  18. {
  19. "name": "VideoPlayer(Release_x64)",
  20. "type": "cppvsdbg",
  21. "request": "launch",
  22. "program": "${workspaceRoot}/bin/win64/Release/VideoPlayer.exe",
  23. "args": [],
  24. "stopAtEntry": false,
  25. "cwd": "${workspaceRoot}/bin/win64/",
  26. "environment": [{"name":"PATH","value":"C:/Qt/Qt5.13.2/5.13.2/msvc2017_64/bin"}],
  27. // "console": "externalTerminal"
  28. "console": "internalConsole" //在 VSCode 内部的调试控制台中显示输出,这个控制台只能在调试会话期间使用。
  29. },
  30. {
  31. "name": "VideoPlayer(Release_x64)",
  32. "type": "cppvsdbg",
  33. "request": "launch",
  34. "program": "${workspaceRoot}/bin/win64/Release/VideoPlayer.exe",
  35. "args": [],
  36. "stopAtEntry": false,
  37. "cwd": "${workspaceRoot}/bin/win64/",
  38. "environment": [{"name":"PATH","value":"D:/Qt/Qt5.13.2/5.13.2/msvc2017_64/bin"}],
  39. // "console": "externalTerminal"
  40. "console": "internalConsole" //在 VSCode 内部的调试控制台中显示输出,这个控制台只能在调试会话期间使用。
  41. }
  42. ]
  43. }