Skip to content

Commit 2673178

Browse files
authored
Update/fix settings in .vscode directory (#4722)
Two files have been modified, which was added to the repo 5 years ago and never touched again: The `.vscode/launch.json` file was outdated and didn't actually work, as it expected `tdd` to exist in the path. Read more about `launch.json` attributes here: https://code.visualstudio.com/Docs/editor/debugging#_launchjson-attributes The `.vscode/settings.json` file was outdated and used a config property no longer supported. The proper equivalent setting would have been: "debug.javascript.autoAttachFilter": "always" But I don't think we want that as it will auto-attach a debugger to every script you run in the console. I've opted for removing this altogether. Read more about auto-attaching here: https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_auto-attach
1 parent bb0bbcc commit 2673178

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.vscode/launch.json

+5-9
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@
88
"type": "node",
99
"request": "launch",
1010
"name": "Test Current File",
11-
"runtimeExecutable": "yarn",
12-
"runtimeArgs": [
13-
"tdd",
14-
"${file}",
15-
"--inspect-brk=9229"
11+
"skipFiles": [
12+
"<node_internals>/**"
1613
],
17-
"port": 9229,
18-
"console": "integratedTerminal",
19-
"internalConsoleOptions": "neverOpen"
20-
},
14+
"program": "${file}",
15+
"console": "integratedTerminal"
16+
}
2117
]
2218
}

.vscode/settings.json

-3
This file was deleted.

0 commit comments

Comments
 (0)