launch.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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": ["--extensionDevelopmentPath=${workspaceFolder}/src"],
  14. "sourceMaps": true,
  15. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  16. "preLaunchTask": "${defaultBuildTask}",
  17. "env": {
  18. "NODE_ENV": "development",
  19. "VSCODE_DEBUG_MODE": "true"
  20. },
  21. "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
  22. "presentation": {
  23. "hidden": false,
  24. "group": "tasks",
  25. "order": 1
  26. }
  27. },
  28. {
  29. "name": "Run Extension [Isolated]",
  30. "type": "extensionHost",
  31. "request": "launch",
  32. "runtimeExecutable": "${execPath}",
  33. "args": [
  34. "--extensionDevelopmentPath=${workspaceFolder}/src",
  35. "--disable-extensions",
  36. "${workspaceFolder}/launch"
  37. ],
  38. "sourceMaps": true,
  39. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  40. "preLaunchTask": "${defaultBuildTask}",
  41. "env": {
  42. "NODE_ENV": "development",
  43. "VSCODE_DEBUG_MODE": "true"
  44. },
  45. "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
  46. "presentation": { "hidden": false, "group": "tasks", "order": 1 }
  47. }
  48. ]
  49. }