I have been trying to debug a Hello World
Angular CLI application with IntelliJ 2018, but I am running in some difficulties and cannot find a solution for it. Initially when I ran the option ng start
from IntelliJ to Debug, ot returned that it needed the %NODE_DEBUG_OPTION%
in the pacjage.json
file, so I made this change:
"scripts": {
"start": "ng %NODE_DEBUG_OPTION% serve",
}
And ran the Debug again, but now it returns the error Unknown option: '--inspect-brk'
and still have not found a solution for it. What exactly I am missing with this configuration?
Thank you.