fix(config): add launch testing configurations

This commit is contained in:
buzzcode2007 2025-03-23 07:50:03 +00:00
parent 36cb74ac72
commit f85b275a7a
2 changed files with 29 additions and 0 deletions

19
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,19 @@
{
// 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": [
{
"type": "node",
"preLaunchTask": "StartDB",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/index.js",
"console": "integratedTerminal"
}
]
}

10
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,10 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "StartDB",
"command": "sudo",
"args": ["service", "mongodb", "start"]
}
]
}