launch.json 2.3 KB

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