launch.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // A launch configuration that compiles the extension and then opens it inside a new window
  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. {
  6. "version": "0.2.0",
  7. "configurations": [
  8. {
  9. "name": "Run Extension",
  10. "type": "extensionHost",
  11. "request": "launch",
  12. "runtimeExecutable": "${execPath}",
  13. "args": [
  14. "--extensionDevelopmentPath=${workspaceFolder}"
  15. ],
  16. "outFiles": [
  17. "${workspaceFolder}/out/**/*.js"
  18. ],
  19. "preLaunchTask": "${defaultBuildTask}"
  20. },
  21. {
  22. "name": "Extension Tests",
  23. "type": "extensionHost",
  24. "request": "launch",
  25. "runtimeExecutable": "${execPath}",
  26. "args": [
  27. "--extensionDevelopmentPath=${workspaceFolder}",
  28. "--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
  29. ],
  30. "outFiles": [
  31. "${workspaceFolder}/out/test/**/*.js"
  32. ],
  33. "preLaunchTask": "${defaultBuildTask}"
  34. }
  35. ]
  36. }