mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"sourceMaps": true,
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Server",
|
|
"program": "${workspaceFolder}/dist/index.js",
|
|
"preLaunchTask": "tsc: build - tsconfig.json",
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"]
|
|
},
|
|
{
|
|
"sourceMaps": true,
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Test",
|
|
"program": "${workspaceFolder}/dist/test/mongo_test.js",
|
|
"preLaunchTask": "tsc: build - tsconfig.json",
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"]
|
|
},
|
|
{
|
|
"name": "Debug current file",
|
|
"program": "${file}",
|
|
"request": "launch",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"],
|
|
"type": "node",
|
|
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
|
|
}
|
|
]
|
|
}
|