Skip to content

Commit

Permalink
feat: vscode configuration helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
Steph0 committed Dec 11, 2024
1 parent e86b4c3 commit e6a5a1a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ paket-files/

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/sample.settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/sample.launch.json
!.vscode/extensions.json

# CodeRush
Expand Down
29 changes: 29 additions & 0 deletions .vscode/sample.launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "api start",
"outputCapture": "std",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}",
"cwd": "${workspaceRoot}",
"envFile": "${workspaceFolder}/.env"
},
{
"type": "node",
"request": "launch",
"name": "api watch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "start:watch"],
"restart": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"cwd": "${workspaceRoot}",
"outputCapture": "std",
"skipFiles": ["<node_internals>/**"],
"envFile": "${workspaceFolder}/.env"
}
]
}

0 comments on commit e6a5a1a

Please sign in to comment.