Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pwa-extensionHost with autoAttachChildProcesses does not attach to child processes #1134

Closed
ashgti opened this issue Nov 12, 2021 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@ashgti
Copy link
Contributor

ashgti commented Nov 12, 2021

Using the launch config type pwa-extensionHost with autoAttachChildProcesses: true if I use child_process.fork() the debugger does not auto-attach to the child process.

I think

const result = await runData.context.dap.launchVSCodeRequest({
does not call into
protected async resolveEnvironment(
which resolves the env variables that would enable auto-attaching.

@ashgti ashgti added the bug Issue identified by VS Code Team member as probable bug label Nov 12, 2021
@connor4312 connor4312 added this to the November 2021 milestone Nov 12, 2021
@ashgti
Copy link
Contributor Author

ashgti commented Nov 15, 2021

Verified using the v2021.11.1217 build, works now thanks!

@connor4312 connor4312 added the verified Verification succeeded label Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants