-
-
Notifications
You must be signed in to change notification settings - Fork 798
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
Inspect mode conflicts with separate processes mode #508
Comments
noted, thanks. |
I am running into this issue as well. When I run:
without the changes to
If I remove the However, we are using Inversify and need to use the @ukrbublik did you find a way to get your code to show up in the debugger? I also think that when the process exits with code 12, shouldn't it reply with a 500? The 200 reply is confusing. |
@gwely
No. |
I'm running in the same problem. And I came up in the exact same conclusion:
@dherault why did you close this issue? Is this already work in progress? |
Because of the workaround given. But let's re-open it. |
I think his workaround was mentioning editing the plugin at this LOC: https://github.com/dherault/serverless-offline/blob/master/src/functionHelper.js#L116 |
Same issue here! I'm using I have to use this flag for local development otherwise its a nightmare but now debug won't work. What to do ? 😕 UPDATE: I don't know which update made it possible but you can name the connections with |
for the purpose of debugging one should run that being said, in unfortunately debugging worker threads with chrome dev tools is not yet possible as well (nodejs/node#26609), but should also be supported with ndb (GoogleChromeLabs/ndb#277) |
This will not work:
node --inspect ./node_modules/serverless/bin/serverless offline --useSeparateProcesses start
Child processes will exit with code 12.
It's because they will try to share same arguments with parent sls process.
This is dirty workaround:
at functionHelper.js
The text was updated successfully, but these errors were encountered: