Well, maybe you can use some IDE like WebStorm with a strong Debugger for Web and Node.
Examples:
You can see more about WebStorm debugger here.
Some alternatives for WebStorm:
- Atom (Free)
- Intellij IDEA (community: Free)
- Visual Studio Code (Free)
- …
P.S: I develop Ionic and React apps with WebStorm 😀