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

How to Debug NestJs in WebStorm #165

Closed
ankurpathak opened this issue Apr 11, 2020 · 1 comment
Closed

How to Debug NestJs in WebStorm #165

ankurpathak opened this issue Apr 11, 2020 · 1 comment

Comments

@ankurpathak
Copy link

ankurpathak commented Apr 11, 2020

Please don't close this issue like earlier once.
Please provide detailed explanation to debug nestjs in all major ide used.

@jmcdo29
Copy link
Member

jmcdo29 commented Apr 20, 2020

Nest provides a start:debug command that adds an --insert-brk to the main node command, which means that you can attach a debugger to port 9229 (the default debug port) and have a debugger listening for any breakpoints and/or exceptions. You can change this port with the --debug flag and passing the port right after it. From there, Webstorm's Documentation should be enough to get things going.

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

No branches or pull requests

3 participants