I'm trying to enable debug mode in my angular project using Intellij, so after start my project (npm start
) i created a JavaScript Debug Configuration:
Debuggin in Google Chrome the breakpoint get exactly in place as i expected (my typescript file), but in Intellij IDEA the breakpoint get in a totally different place, look in Intellij:
I already installed the JetBrains plugin for Google Chrome and check if sourceMap is enabled in my tsconfig.json
but the problem persist:
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
...
I tried to solve my problem with this post how to run angular application in IntelliJ but didn't work, the problem continue. Note that in this post the subject is about run angular project, i'm already running my project very well, i just want to debug it correctly.