2025-02-07 18:01:52 +01: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": [
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug and Watch",
|
2025-02-07 18:43:41 +01:00
|
|
|
"runtimeArgs": ["-r", "tsconfig-paths/register", "-r", "ts-node/register", "--watch-path", "src"],
|
2025-02-07 18:01:52 +01:00
|
|
|
"args": ["${workspaceFolder}/src/index.ts"],
|
2025-02-07 18:43:41 +01:00
|
|
|
"console": "integratedTerminal"
|
2025-02-07 18:01:52 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2025-02-07 18:43:41 +01:00
|
|
|
|
|
|
|
//can use "console": "internalConsole" for VS Code's Debug Console. For that, forceConsole in logger.ts is needed to be true
|
|
|
|
//"internalConsoleOptions": "openOnSessionStart" can be useful then
|