dotino-veloce/.vscode/launch.json

50 lines
No EOL
1.3 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": [
{
"request": "launch",
"name": "Dev Server",
"type": "node",
"program": "${workspaceFolder}/main.ts",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/local.env",
"runtimeExecutable": "/usr/bin/deno",
"runtimeArgs": [
"run",
"--watch",
"--no-prompt",
"--allow-read='.,$HOME/.cache/deno,$HOME/.cache/node_modules'",
"--allow-env=DOTINO_POSTGRES_STRING,DOTINO_STRATZ_URL,DOTINO_STRATZ_KEY",
"--allow-sys=uid,gid",
"--allow-net=0.0.0.0:8080",
"--inspect-wait",
"src/main.ts"
],
"attachSimplePort": 9229
},
{
"request": "launch",
"name": "Init database",
"type": "node",
"program": "${workspaceFolder}/main.ts",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/local.env",
"runtimeExecutable": "/usr/bin/deno",
"runtimeArgs": [
"run",
"--no-prompt",
"--allow-read='.'",
"--allow-env=DOTINO_POSTGRES_STRING",
"--allow-sys=uid,gid",
"--allow-net=0.0.0.0:8080",
"--inspect-wait",
"src/database/init/index.ts"
],
"attachSimplePort": 9229
},
]
}