How to run debug mode with Ionic project?

Do anyone try netbeans debug mode (break point) with Ionic project?
I got CORS problem when calling API on netbeans debug mode…
The Handling CORS issues in Ionic is not fit for it.
Can any help or got idea how to work with debug mode??

Thx

Your can debug your app using Chrome remote debugging for Android or Safari remote debugging for iOS.