Skip to content

Commit 40c924a

Browse files
authored
Prevent debugger stepping into js code (#1091)
Fixes #1090
1 parent 0f51fd6 commit 40c924a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.vscode/launch.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
"--extensionDevelopmentPath=${workspaceFolder}"
1212
],
1313
"stopOnEntry": false,
14+
"smartStep": true,
1415
"sourceMaps": true,
1516
"outFiles": [
16-
"${workspaceFolder}/out/**/*.js"
17+
"${workspaceFolder}/out/**/*"
1718
],
1819
"preLaunchTask": "Compile"
1920
},
@@ -23,6 +24,7 @@
2324
"request": "launch",
2425
"program": "${workspaceFolder}/out/client/debugger/Main.js",
2526
"stopOnEntry": false,
27+
"smartStep": true,
2628
"args": [
2729
"--server=4711"
2830
],
@@ -39,6 +41,7 @@
3941
"request": "launch",
4042
"program": "${workspaceFolder}/out/client/debugger/mainV2.js",
4143
"stopOnEntry": false,
44+
"smartStep": true,
4245
"args": [
4346
"--server=4711"
4447
],
@@ -78,8 +81,9 @@
7881
],
7982
"stopOnEntry": false,
8083
"sourceMaps": true,
84+
"smartStep": true,
8185
"outFiles": [
82-
"${workspaceFolder}/out/**/*.js"
86+
"${workspaceFolder}/out/**/*"
8387
],
8488
"preLaunchTask": "Compile"
8589
},
@@ -94,6 +98,7 @@
9498
"--extensionTestsPath=${workspaceFolder}/out/test"
9599
],
96100
"stopOnEntry": false,
101+
"smartStep": true,
97102
"sourceMaps": true,
98103
"outFiles": [
99104
"${workspaceFolder}/out/**/*.js"

news/3 Code Health/1090.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Prevent debugger stepping into js code, when debugging async TypeScript code.

0 commit comments

Comments
 (0)