-
Notifications
You must be signed in to change notification settings - Fork 335
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Describe the bug
When using a compound configuration for debugging, vscode-js-debug will write trace logs to the same log file for all targets with trace enabled if they each use vscode-js-debug. This ends up producing corrupt logs.
You'd run into this in attempting to debug electron apps, where you would want to debug the main process and renderer process simultaneously.
To Reproduce
Steps to reproduce the behavior:
I've created a branch in my repo to reproduce this:
git clone --branch new-debug https://github.com/nikitalita/steam-gyro-for-cemuhooknpm i && npm run build:all-debug- Open in VS Code, run debug for "Electron: All" (which should be the default).
- After the app has finished launching, stop it.
- Observe in the debug console where it wrote the log for each process (Electron:Main and Electron: Renderer). It should be the same file.
- Try and upload the resulting log to vscode-pwa-analyzer
- Analyzer throws an error decompressing.
Corrupt log file:
vscode-debugadapter-8.json.gz
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded

