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

83 行
2.5 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": "Run GitLens",
  7. "type": "extensionHost",
  8. "request": "launch",
  9. "runtimeExecutable": "${execPath}",
  10. "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
  11. "cwd": "${workspaceFolder}",
  12. "debugWebviews": { "urlFilter": "*eamodio.gitlens*" },
  13. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  14. "presentation": {
  15. "group": "2_run",
  16. "order": 1
  17. },
  18. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  19. "smartStep": true,
  20. "sourceMaps": true,
  21. "trace": true
  22. },
  23. {
  24. "name": "Run GitLens (Sandboxed)",
  25. "type": "extensionHost",
  26. "request": "launch",
  27. "runtimeExecutable": "${execPath}",
  28. "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
  29. "cwd": "${workspaceFolder}",
  30. "debugWebviews": { "urlFilter": "*eamodio.gitlens*" },
  31. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  32. "presentation": {
  33. "group": "2_run",
  34. "order": 2
  35. },
  36. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  37. "smartStep": true,
  38. "sourceMaps": true,
  39. "trace": true
  40. },
  41. {
  42. "name": "Watch & Launch GitLens",
  43. "type": "pwa-extensionHost",
  44. "request": "launch",
  45. "runtimeExecutable": "${execPath}",
  46. "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
  47. "cwd": "${workspaceFolder}",
  48. "debugWebviews": {
  49. "urlFilter": "*eamodio.gitlens*",
  50. "webRoot": "${workspaceFolder}/src/webviews/apps"
  51. },
  52. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  53. "preLaunchTask": "${defaultBuildTask}",
  54. "presentation": {
  55. "group": "1_watch",
  56. "order": 1
  57. },
  58. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  59. "smartStep": true,
  60. "sourceMaps": true,
  61. "trace": true
  62. },
  63. {
  64. "name": "Watch & Launch GitLens (Sandboxed)",
  65. "type": "extensionHost",
  66. "request": "launch",
  67. "runtimeExecutable": "${execPath}",
  68. "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
  69. "cwd": "${workspaceFolder}",
  70. "debugWebviews": { "urlFilter": "*eamodio.gitlens*" },
  71. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  72. "preLaunchTask": "npm: watch",
  73. "presentation": {
  74. "group": "1_watch",
  75. "order": 2
  76. },
  77. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  78. "smartStep": true,
  79. "sourceMaps": true,
  80. "trace": true
  81. }
  82. ]
  83. }