2024-10-21 01:24:07 +00:00
|
|
|
{
|
|
|
|
// 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",
|
2024-10-21 04:20:41 +00:00
|
|
|
"name": "Reinitialize database",
|
2024-10-21 01:24:07 +00:00
|
|
|
"type": "node",
|
2024-10-21 04:20:41 +00:00
|
|
|
"program": "${workspaceFolder}/src/entry/dbInit.ts",
|
2024-10-21 01:24:07 +00:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"envFile": "${workspaceFolder}/local.env",
|
|
|
|
"runtimeExecutable": "/usr/bin/deno",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"run",
|
|
|
|
"--watch",
|
|
|
|
"--no-prompt",
|
2024-10-21 02:00:59 +00:00
|
|
|
"--allow-all",
|
2024-10-21 04:20:41 +00:00
|
|
|
"--inspect-wait"
|
2024-10-21 01:24:07 +00:00
|
|
|
],
|
|
|
|
"attachSimplePort": 9229
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"request": "launch",
|
2024-10-21 04:20:41 +00:00
|
|
|
"name": "Dev Server",
|
2024-10-21 01:24:07 +00:00
|
|
|
"type": "node",
|
2024-10-21 04:20:41 +00:00
|
|
|
"program": "${workspaceFolder}/src/entry/server.ts",
|
2024-10-21 01:24:07 +00:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"envFile": "${workspaceFolder}/local.env",
|
|
|
|
"runtimeExecutable": "/usr/bin/deno",
|
2024-10-22 03:19:31 +00:00
|
|
|
"restart": true,
|
2024-10-21 01:24:07 +00:00
|
|
|
"runtimeArgs": [
|
|
|
|
"run",
|
2024-10-21 04:20:41 +00:00
|
|
|
"--watch",
|
2024-10-21 01:24:07 +00:00
|
|
|
"--no-prompt",
|
2024-10-21 02:00:59 +00:00
|
|
|
"--allow-all",
|
2024-10-21 04:20:41 +00:00
|
|
|
"--inspect-wait"
|
2024-10-21 01:24:07 +00:00
|
|
|
],
|
|
|
|
"attachSimplePort": 9229
|
2024-10-21 04:20:41 +00:00
|
|
|
}
|
2024-10-21 01:24:07 +00:00
|
|
|
]
|
|
|
|
}
|