Debugging not working in Intellij - NodeJS + NestJS App

Viewed 1965

I am trying to debug a nodejs + nest application in IntelliJ, I am able to start the application using two types of configs.

  1. Using Yarn (through NPM configuration template in intellij)
  2. Using Node (I am not sure but when I use the main.js from dist folder then I get some debug point but it is useless as it is not pointing to my actual code base)

Debugger doesn't work for any of the above options!

I am posting screen shots of both the configurations.

New to Node + IntelliJ, so not sure what did I do wrong in both the configurations! Any help would be appreciated.

Intellij Version is 2020.3.3 And NodeJS application exposes several APIs, I am trying to call the APIs using a Postman and expect it to debug.

NPM Debug Configuration

Node Debug Config

1 Answers
Related