Wednesday, June 1, 2016

Catch JS breakpoints in IDEA

How to debug JS from IDEA

Always wanted to place and catch breakpoints right into IDEA rather than doing it in browser's Dev tools.
It's fairly simple, it boosts your development speed and requires only two steps:

Add JS debug configuration

So, add JavaScript Debug under your Run/Debug Configuraton page in IDEA and point to the host you want debug.

Install JetBrains IDE Support extention

Install this IDEA extension, and run your JS Debug (Shift+F9)

So, here is our caught breakpoint:

No comments:

Post a Comment