您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

52 行
1.6 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. },
  20. {
  21. "name": "Launch GitLens (Sandbox)",
  22. "type": "extensionHost",
  23. "request": "launch",
  24. "runtimeExecutable": "${execPath}",
  25. "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
  26. "env": {
  27. "VSCODE_DEBUGGING_EXTENSION": "gitlens"
  28. },
  29. "cwd": "${workspaceFolder}",
  30. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  31. "skipFiles": ["<node_internals>/**", "**/resources/app/out/vs/**"],
  32. "smartStep": true,
  33. "sourceMaps": true
  34. },
  35. {
  36. "name": "Watch & Launch GitLens",
  37. "type": "extensionHost",
  38. "request": "launch",
  39. "runtimeExecutable": "${execPath}",
  40. "env": {
  41. "VSCODE_DEBUGGING_EXTENSION": "gitlens"
  42. },
  43. "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
  44. "cwd": "${workspaceFolder}",
  45. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  46. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  47. "smartStep": true,
  48. "sourceMaps": true,
  49. "preLaunchTask": "npm: watch"
  50. }
  51. ]
  52. }