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.

35 line
1.3 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=${workspaceRoot}"],
  11. "env": {
  12. "VSCODE_DEBUGGING_EXTENSION": "gitlens"
  13. },
  14. "outFiles": ["${workspaceRoot}/dist/**/*.js"],
  15. "skipFiles": ["<node_internals>/**/*.js", "**/node_modules/**/*.js", "**/extensions/**/*.js"],
  16. "smartStep": true,
  17. "sourceMaps": true
  18. },
  19. {
  20. "name": "Watch & Launch GitLens",
  21. "type": "extensionHost",
  22. "request": "launch",
  23. "runtimeExecutable": "${execPath}",
  24. "args": ["--extensionDevelopmentPath=${workspaceRoot}"],
  25. "env": {
  26. "VSCODE_DEBUGGING_EXTENSION": "gitlens"
  27. },
  28. "outFiles": ["${workspaceRoot}/dist/**/*.js"],
  29. "skipFiles": ["<node_internals>/**/*.js", "**/node_modules/**/*.js", "**/extensions/**/*.js"],
  30. "smartStep": true,
  31. "sourceMaps": true,
  32. "preLaunchTask": "npm: watch"
  33. }
  34. ]
  35. }