dherault / serverless-offline

Emulate AWS λ and API Gateway locally when developing your Serverless project
MIT License
5.2k stars 793 forks source link

App hangs when launching in debug mode on Webstorm #1726

Open spinlud opened 1 year ago

spinlud commented 1 year ago

node: v16.20.1 serverless: ^3.34.0 serverless-offline: ^12.0.4 os: MacOS 13.5

I have the following simple npm script:

"serverless-offline": "serverless offline"

When running the above script in Webstorm in default mode everything works fine, but running in debug mode causes the app to hangs. It does not respond to requests and none of my breakpoints are triggered.

Any idea how to fix this behaviour?

imphatic commented 1 year ago

Also have this issue

mkilp commented 12 months ago

For me I had to hit the "Continue" image Button in Webstorm to have it continue executing. Anything else from there on out works.