Skip to content

Commit

Permalink
Add vscode debugger launch config
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Oct 27, 2023
1 parent 1ed4cf2 commit 16f98b9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"protocol": "inspector",
"type": "node",
"request": "launch",
"name": "Mocha Test current file",
"program": "${workspaceFolder}/node_modules/.bin/mocha",
"args": ["--colors", "--timeout", "0", "${file}"],
"runtimeExecutable": "fnm",
"runtimeArgs": ["exec", "node", "--"],
"internalConsoleOptions": "openOnSessionStart",
"console": "internalConsole",
"outputCapture": "std",
"env": {}
}
]
}

0 comments on commit 16f98b9

Please sign in to comment.