|
9 | 9 | "request": "launch",
|
10 | 10 | "runtimeExecutable": "${execPath}",
|
11 | 11 | "args": [
|
12 |
| - "--extensionDevelopmentPath=${workspaceFolder}" |
13 |
| - ], |
14 |
| - "env": { |
15 |
| - "__TEST_WORKSPACE_PATH": "${workspaceFolder}/examples", |
16 |
| - }, |
17 |
| - "sourceMaps": true, |
18 |
| - // This speeds up source map detection and makes smartStep work correctly |
19 |
| - "outFiles": [ |
20 |
| - "${workspaceFolder}/out/**/*.js", |
21 |
| - "!**/node_modules/**", |
22 |
| - "!**/.vscode-test/**" |
23 |
| - ], |
24 |
| - "skipFiles": [ |
25 |
| - "<node_internals>/**", |
26 |
| - "**/node_modules/**", |
27 |
| - "**/.vscode-test/**" |
| 12 | + "--extensionDevelopmentPath=${workspaceFolder}", |
| 13 | + "${workspaceFolder}/examples" |
28 | 14 | ],
|
29 | 15 | "presentation": {
|
30 | 16 | "hidden": false,
|
|
35 | 21 | {
|
36 | 22 | // Runs the extension in an empty temp profile that is automatically cleaned up after use
|
37 | 23 | // Undocumented: https://github.com/microsoft/vscode-docs/issues/6220
|
| 24 | + // BUG: Breakpoints will not work with temp profile currently |
38 | 25 | "name": "Launch Extension - Temp Profile",
|
39 | 26 | "type": "extensionHost",
|
40 | 27 | "request": "launch",
|
|
44 | 31 | "--extensionDevelopmentPath=${workspaceFolder}",
|
45 | 32 | "${workspaceFolder}/examples"
|
46 | 33 | ],
|
47 |
| - "sourceMaps": true, |
48 |
| - // This speeds up source map detection and makes smartStep work correctly |
49 |
| - "outFiles": [ |
50 |
| - "${workspaceFolder}/out/**/*.js", |
| 34 | + "resolveSourceMapLocations": [ |
| 35 | + "${workspaceFolder}/**", |
51 | 36 | "!**/node_modules/**",
|
52 | 37 | "!**/.vscode-test/**"
|
53 | 38 | ],
|
54 |
| - "skipFiles": [ |
55 |
| - "<node_internals>/**", |
56 |
| - "**/node_modules/**", |
57 |
| - "**/.vscode-test/**" |
58 |
| - ], |
| 39 | + "outFiles": ["${workspaceFolder}/**/*.js", "!**/node_modules/**"], |
| 40 | + "sourceMapRenames": true, |
| 41 | + "sourceMaps": true, |
| 42 | + // This speeds up source map detection and makes smartStep work correctly |
| 43 | + // "skipFiles": [ |
| 44 | + // "<node_internals>/**", |
| 45 | + // "**/node_modules/**", |
| 46 | + // "**/.vscode-test/**" |
| 47 | + // ], |
59 | 48 | "presentation": {
|
60 | 49 | "hidden": false,
|
61 | 50 | "group": "test",
|
|
74 | 63 | "--extensionDevelopmentPath=${workspaceFolder}",
|
75 | 64 | "${workspaceFolder}/examples"
|
76 | 65 | ],
|
77 |
| - "sourceMaps": true, |
78 |
| - // This speeds up source map detection and makes smartStep work correctly |
79 |
| - "outFiles": [ |
80 |
| - "${workspaceFolder}/out/**/*.js", |
81 |
| - "!**/node_modules/**", |
82 |
| - "!**/.vscode-test/**" |
83 |
| - ], |
84 |
| - "skipFiles": [ |
85 |
| - "<node_internals>/**", |
86 |
| - "**/node_modules/**", |
87 |
| - "**/.vscode-test/**" |
88 |
| - ], |
89 | 66 | "presentation": {
|
90 | 67 | "hidden": false,
|
91 | 68 | "group": "test",
|
92 | 69 | "order": 2
|
93 | 70 | }
|
94 |
| - }, |
95 |
| - { |
96 |
| - "name": "Test Extension", |
97 |
| - "type": "node", |
98 |
| - "request": "launch", |
99 |
| - "program": "${workspaceFolder}/out/test/runTests.js", |
100 |
| - "cascadeTerminateToConfigurations": [ |
101 |
| - "ExtensionTests", |
102 |
| - ], |
103 |
| - // This speeds up source map detection and makes smartStep work correctly |
104 |
| - "outFiles": [ |
105 |
| - "${workspaceFolder}/out/**/*.js", |
106 |
| - "!**/node_modules/**", |
107 |
| - "!**/.vscode-test/**" |
108 |
| - ], |
109 |
| - "skipFiles": [ |
110 |
| - "<node_internals>/**", |
111 |
| - "**/node_modules/**", |
112 |
| - "**/.vscode-test/**" |
113 |
| - ], |
114 |
| - "attachSimplePort": 59229, // THe default is 9229 but we want to avoid conflicts because we will have two vscode instances running. |
115 |
| - "env": { |
116 |
| - "__TEST_DEBUG_INSPECT_PORT": "59229" // Needs to match attachSimplePort |
117 |
| - }, |
118 |
| - "presentation": { |
119 |
| - "hidden": false, |
120 |
| - }, |
121 |
| - "internalConsoleOptions": "neverOpen", |
122 |
| - "console": "integratedTerminal", |
123 |
| - "autoAttachChildProcesses": false, |
124 |
| - "preLaunchTask": "test-watch" |
125 | 71 | }
|
126 | 72 | ]
|
127 | 73 | }
|
0 commit comments