Merge pull request #21533 from backstage/freben/logs

make sure that local dev logs in vscode
This commit is contained in:
Fredrik Adelöw
2023-11-25 11:19:06 +01:00
committed by GitHub
+2 -3
View File
@@ -57,6 +57,7 @@ In your `launch.json`, add a new entry with the following,
```jsonc
{
"name": "Start Backend",
"type": "node",
"request": "launch",
"args": [
"package",
@@ -67,8 +68,6 @@ In your `launch.json`, add a new entry with the following,
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
"console": "integratedTerminal"
},
```
You may notice that the normal logs mentioned above do not get logged, this is an issue with the logging library we're using, `winston`, and is not easily solved. See [this thread](https://github.com/winstonjs/winston/issues/1544) for more information.