Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

128 linhas
3.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. "sourceMaps": true,
  15. "urlFilter": "*eamodio.gitlens*",
  16. "webRoot": "${workspaceFolder}/src/webviews/apps"
  17. },
  18. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  19. "presentation": {
  20. "group": "2_run",
  21. "order": 1
  22. },
  23. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  24. "smartStep": true,
  25. "sourceMaps": true,
  26. "trace": true
  27. },
  28. {
  29. "name": "Run GitLens (Sandboxed)",
  30. "type": "pwa-extensionHost",
  31. "request": "launch",
  32. "runtimeExecutable": "${execPath}",
  33. "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
  34. "cwd": "${workspaceFolder}",
  35. "debugWebviews": true,
  36. "rendererDebugOptions": {
  37. "sourceMaps": true,
  38. "urlFilter": "*eamodio.gitlens*",
  39. "webRoot": "${workspaceFolder}/src/webviews/apps"
  40. },
  41. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  42. "presentation": {
  43. "group": "2_run",
  44. "order": 2
  45. },
  46. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  47. "smartStep": true,
  48. "sourceMaps": true,
  49. "trace": true
  50. },
  51. {
  52. "name": "Watch & Launch GitLens",
  53. "type": "pwa-extensionHost",
  54. "request": "launch",
  55. "runtimeExecutable": "${execPath}",
  56. "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
  57. "cwd": "${workspaceFolder}",
  58. "debugWebviews": true,
  59. "rendererDebugOptions": {
  60. "sourceMaps": true,
  61. "urlFilter": "*eamodio.gitlens*",
  62. "webRoot": "${workspaceFolder}/src/webviews/apps"
  63. },
  64. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  65. "preLaunchTask": "${defaultBuildTask}",
  66. "presentation": {
  67. "group": "1_watch",
  68. "order": 1
  69. },
  70. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  71. "smartStep": true,
  72. "sourceMaps": true,
  73. "trace": true
  74. },
  75. {
  76. "name": "Watch & Launch GitLens (sandboxed)",
  77. "type": "pwa-extensionHost",
  78. "request": "launch",
  79. "runtimeExecutable": "${execPath}",
  80. "args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}"],
  81. "cwd": "${workspaceFolder}",
  82. "debugWebviews": true,
  83. "rendererDebugOptions": {
  84. "sourceMaps": true,
  85. "urlFilter": "*eamodio.gitlens*",
  86. "webRoot": "${workspaceFolder}/src/webviews/apps"
  87. },
  88. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  89. "preLaunchTask": "npm: watch",
  90. "presentation": {
  91. "group": "1_watch",
  92. "order": 2
  93. },
  94. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  95. "smartStep": true,
  96. "sourceMaps": true,
  97. "trace": true
  98. },
  99. {
  100. "name": "Watch & Launch GitLens (cleanroom)",
  101. "type": "pwa-extensionHost",
  102. "request": "launch",
  103. "runtimeExecutable": "${execPath}",
  104. "args": [
  105. "--user-data-dir=${workspaceFolder}/.vscode-clean",
  106. "--extensions-dir=${workspaceFolder}/.vscode-clean/extensions",
  107. "--extensionDevelopmentPath=${workspaceFolder}"
  108. ],
  109. "cwd": "${workspaceFolder}",
  110. "debugWebviews": true,
  111. "rendererDebugOptions": {
  112. "sourceMaps": true,
  113. "urlFilter": "*eamodio.gitlens*",
  114. "webRoot": "${workspaceFolder}/src/webviews/apps"
  115. },
  116. "outFiles": ["${workspaceFolder}/dist/**/*.js"],
  117. "preLaunchTask": "${defaultBuildTask}",
  118. "presentation": {
  119. "group": "1_watch",
  120. "order": 1
  121. },
  122. "skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
  123. "smartStep": true,
  124. "sourceMaps": true,
  125. "trace": true
  126. }
  127. ]
  128. }