You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.7 KiB

  1. // A launch configuration that compiles the extension and then opens it inside a new window
  2. {
  3. "version": "0.2.0",
  4. "configurations": [
  5. {
  6. "name": "Launch GitLens",
  7. "type": "extensionHost",
  8. "request": "launch",
  9. "runtimeExecutable": "${execPath}",
  10. "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
  11. "env": {
  12. "VSCODE_DEBUGGING_EXTENSION": "gitlens"
  13. },
  14. "cwd": "${workspaceFolder}",
  15. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  16. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  17. "smartStep": true,
  18. "sourceMaps": true,
  19. "trace": true
  20. },
  21. {
  22. "name": "Launch GitLens (Sandbox)",
  23. "type": "extensionHost",
  24. "request": "launch",
  25. "runtimeExecutable": "${execPath}",
  26. "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
  27. "env": {
  28. "VSCODE_DEBUGGING_EXTENSION": "gitlens"
  29. },
  30. "cwd": "${workspaceFolder}",
  31. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  32. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  33. "smartStep": true,
  34. "sourceMaps": true,
  35. "trace": true
  36. },
  37. {
  38. "name": "Watch & Launch GitLens",
  39. "type": "extensionHost",
  40. "request": "launch",
  41. "runtimeExecutable": "${execPath}",
  42. "env": {
  43. "VSCODE_DEBUGGING_EXTENSION": "gitlens"
  44. },
  45. "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
  46. "cwd": "${workspaceFolder}",
  47. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  48. "preLaunchTask": "npm: watch",
  49. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  50. "smartStep": true,
  51. "sourceMaps": true,
  52. "trace": true
  53. }
  54. ]
  55. }