How to Debug NestJs in WebStorm
ankurpathak opened this issue · 1 comments
ankurpathak commented
Please don't close this issue like earlier once.
Please provide detailed explanation to debug nestjs in all major ide used.
jmcdo29 commented
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.