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

How to selectivly attach the debugger (in case of forked childs) #57201

Closed
younes-zeboudj opened this issue Feb 25, 2025 · 1 comment
Closed
Labels
wrong repo Issues that should be opened in another repository.

Comments

@younes-zeboudj
Copy link

I have a process that forks another one using child_process.fork, the second one would run a code using vm.runInNewContext, the problem is that the latter code keep triggering debugger which make it difficult to debug the parent, I want to only attach the debugger to the parent and forked processes. Is there way to achieve this using node or VS code?

@legendecas
Copy link
Member

legendecas commented Feb 28, 2025

This should be reported to https://github.com/microsoft/vscode-js-debug/. It's the vscode-js-debug determines if it should connect to a Node.js process.

@legendecas legendecas added the wrong repo Issues that should be opened in another repository. label Feb 28, 2025
@legendecas legendecas closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wrong repo Issues that should be opened in another repository.
Projects
None yet
Development

No branches or pull requests

2 participants