-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Can't attach to node in Docker #36192
Comments
Following your exact steps I get the picture attached. Take note that I do not have any of the docker stuff installed on my machine. As for debugger not attaching that is probably coming from node2 thus assigning also to @roblourens |
I don't see that file, is it In that file all the |
I cleaned up the When I press Now, if you press A second problem I'm seeing here, but related. If I have a mistake in my |
I see the same thing. Can you try with a newer version of Node? It works if I add What I see here, and saw with old Electron, is that after we try to detect the protocol, it won't let anything attach anymore. I can't even attach with chrome devtools after it gets into the broken state. |
ok, i see it work now with |
I'll leave it open since it should work without specifying the protocol. I don't know why it's working differently between running node locally and in Docker. |
need to use this in the docker-compose file... command: node --inspect=0.0.0.0:9229 server/index.js |
git clone https://github.com/glimpse/stickerapp
cd stickerapp
git fetch
git checkout chrisdias/connect2017
npm install && code-insiders .
tasks.json
:launch.json
configuration:press
F5
result: docker-compose is run, but the debugger never attaches
add the
detached
flag to docker-compose intasks.json
:F5
Result: "Cannot connect to runtime process...."
If you run
docker-compose -f docker-compose.debug.yml -d
from the terminal and then attach the debugger (without thepreLauncTask
) then I can attach the debugger.The text was updated successfully, but these errors were encountered: