25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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