Skip to content

Commit a21a012

Browse files
authored
fix vscode debug issue with tsx runtime (#4306)
1 parent f210613 commit a21a012

File tree

3 files changed

+171
-15
lines changed

3 files changed

+171
-15
lines changed

.vscode/launch.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
{
88
"type": "node",
99
"request": "launch",
10+
"runtimeExecutable": "tsx",
1011
"name": "Launch Program",
1112
"skipFiles": ["<node_internals>/**"],
1213
"preLaunchTask": "tsc: build - tsconfig.json",
13-
"program": "${workspaceFolder}/src/playground.ts",
14+
"program": "${workspaceFolder}/playground.ts",
1415
"outFiles": ["${workspaceFolder}/**/*.js"]
1516
}
1617
]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"ts-morph": "^14.0.0",
4444
"ts-node": "^10.9.1",
4545
"tslib": "^2.3.1",
46-
"tsx": "^3.8.0",
46+
"tsx": "^4.19.4",
4747
"typescript": "^5.0.0",
4848
"vitest": "^0.32.2"
4949
},

0 commit comments

Comments
 (0)