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

Fix debugging for docker for mac #8

Merged
merged 3 commits into from
Jun 7, 2017

Conversation

galileo
Copy link
Contributor

@galileo galileo commented Jun 2, 2017

I think this will resolve your issues with:

#4
#6

First the problem on mac is that the localhost (127.0.0.1) is not working due to some restrictions.

Watch it here: https://docs.docker.com/docker-for-mac/networking/#use-cases-and-workarounds

The second part was that the the node 6 is not available to server inspector on host 0.0.0.0 this was solved in 7.15 i believe you can follow this thread: nodejs/node#11591

On the end I was struggling with exposing for source files that were exposing for me in the devtool only the node-modules. So I came up with the change of command

command: ../node_modules/.bin/nodemon --inspect=0.0.0.0:9229

But maybe you will spot some issues with that solution, if yes keep me updated.

Last thing I fixed the .vscode lunch config to map correct paths.

Hope this would help. For me it is working. Thank you for your awesome work.

@galileo galileo force-pushed the issue-6-4-solution branch from eee3bd2 to 2c429b0 Compare June 2, 2017 12:33
@galileo galileo force-pushed the issue-6-4-solution branch from 2c429b0 to 99e3d44 Compare June 2, 2017 12:33
@BretFisher BretFisher merged commit 0837804 into BretFisher:master Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants