-
Notifications
You must be signed in to change notification settings - Fork 137
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 do you debug the macros? #1040
Comments
This is the right instructions, but probably you were hitting the persistent babel cache so the code was not being run. You can |
Trying to get a debugger going now to see what's going on with: #1066 using: rm -rf /tmp/embroider/ && JOBS=1 NODE_OPTIONS="--inspect-brk" ember s even though nothing is running on this port before I run the command, I get this error upon starting:
so... trying with ❯ rm -rf /tmp/embroider/ && JOBS=1 NODE_OPTIONS="--inspect-brk=0.0.0.0:9000" ember s still gets a similar error:
So, I think maybe there is another way to single-thread or maybe a way to spawn multiple debuggers? |
If you debug with vscode this is all very automatic. The instructions I use are:
That's it. It doesn't even need JOBS because it follows child processes correctly. |
That looks correct. Did you also remove the cache? That is still a potential blocker. |
at |
Got this to work on my personal machine with local ember, rather than the globally installed one. |
How I wish this statement was true. Spent the day trying to get a breakpoint to bind in VSCode, to try ascertain why I've tried @NullVoxPopuli can you share your setup for this please? |
Nine times out of ten, when people have a problem with
|
I was reading: https://github.com/embroider-build/embroider/blob/master/CONTRIBUTING.md
and I had tried:
with a
debugger
in the dependency-satisifies file (in node modules, js, compiled), but it seems babel ran in another thread.How do you debug that part of that build?
The text was updated successfully, but these errors were encountered: