Debugging javascript code

Developing client applications with java script is painful. Lack of native debugging options makes it more painful. Now you can easily debug java script like other big programming languages.

Jetbrains IDE has javascript debuuging support along with its won chrome extension. Here is how we can debug javascript using breakpoints on PhpStrom. PhpStrom is a great IDE for php developers by JetBrains. The same applies to other IDEs from JetBrains.

You also have to install chrome extension called JetBrains IDE Support.

Run/Debug Configuration

Break pint hit on javascript code

Watch Window