Skip to content

Commit

Permalink
Add a launch.json file to improve vscode debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoguerios committed Jul 31, 2023
1 parent a8e5c28 commit c0c288f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions balancer-js/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// 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": [
{
"name": "Debug ts-node (Current File)",
"type": "node",
"request": "launch",
"runtimeExecutable": "npx",
"runtimeArgs": [
"ts-node",
"--project",
"./tsconfig.testing.json",
"-r",
"tsconfig-paths/register",
"${file}"
],
"sourceMaps": true,
"internalConsoleOptions": "openOnSessionStart"
}
]
}
2 changes: 1 addition & 1 deletion balancer-js/tsconfig.testing.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"module": "commonjs"
}
}

0 comments on commit c0c288f

Please sign in to comment.