launch.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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": "npm: watch",
  20. "env": {
  21. "VSCODE_DEBUG_MODE": true
  22. }
  23. },
  24. {
  25. "name": "Run Extension with workspace file",
  26. "type": "extensionHost",
  27. "request": "launch",
  28. "runtimeExecutable": "${execPath}",
  29. "args": [
  30. "--profile=temp",
  31. "--extensionDevelopmentPath=${workspaceFolder}",
  32. "${workspaceFolder}/workspace.code-workspace"
  33. ],
  34. "outFiles": [
  35. "${workspaceFolder}/out/**/*.js"
  36. ],
  37. "preLaunchTask": "npm: watch",
  38. "env": {
  39. "VSCODE_DEBUG_MODE": true
  40. }
  41. },
  42. ]
  43. }