use integrated terminal instead debug console
All checks were successful
Build / build (22) (push) Successful in 34s
Build / build (18) (push) Successful in 54s
Build / build (20) (push) Successful in 1m23s
Build / build (20) (pull_request) Successful in 35s
Build / build (18) (pull_request) Successful in 55s
Build / build (22) (pull_request) Successful in 1m18s
All checks were successful
Build / build (22) (push) Successful in 34s
Build / build (18) (push) Successful in 54s
Build / build (20) (push) Successful in 1m23s
Build / build (20) (pull_request) Successful in 35s
Build / build (18) (pull_request) Successful in 55s
Build / build (22) (pull_request) Successful in 1m18s
This commit is contained in:
parent
f934893cbe
commit
f5ae671b51
8
.vscode/launch.json
vendored
8
.vscode/launch.json
vendored
@ -8,10 +8,12 @@
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Debug and Watch",
|
||||
"runtimeArgs": ["-r", "ts-node/register", "-r", "tsconfig-paths/register", "--watch-path", "src"],
|
||||
"runtimeArgs": ["-r", "tsconfig-paths/register", "-r", "ts-node/register", "--watch-path", "src"],
|
||||
"args": ["${workspaceFolder}/src/index.ts"],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"console": "internalConsole"
|
||||
"console": "integratedTerminal"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
//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
|
||||
|
@ -58,7 +58,7 @@ const combinedLog = new transports.DailyRotateFile({
|
||||
});
|
||||
|
||||
const consoleLog = new transports.Console({
|
||||
forceConsole: true,
|
||||
forceConsole: false,
|
||||
format: format.combine(
|
||||
format.colorize(),
|
||||
format.timestamp({ format: "YYYY-MM-DDTHH:mm:ss:SSS" }), // uses local timezone
|
||||
|
Loading…
x
Reference in New Issue
Block a user