Skip to content

Commit 84fc5cd

Browse files
Neil-N4spencer426
andauthored
Fix/vscode run current file ts (#22894)
Co-authored-by: Spencer <spencertang@google.com>
1 parent e1b3ce5 commit 84fc5cd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.vscode/launch.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@
4343
{
4444
"type": "node",
4545
"request": "launch",
46-
"name": "Launch Program",
46+
"name": "CLI: Run Current File",
47+
"runtimeExecutable": "node",
48+
"runtimeArgs": ["--import", "tsx"],
4749
"skipFiles": ["<node_internals>/**"],
4850
"program": "${file}",
51+
"cwd": "${workspaceFolder}",
52+
"console": "integratedTerminal",
4953
"outFiles": ["${workspaceFolder}/**/*.js"]
5054
},
5155
{

0 commit comments

Comments
 (0)