WebStorm debug mode doesn't hit breakpoints WebStorm debug mode doesn't hit breakpoints google-chrome google-chrome

WebStorm debug mode doesn't hit breakpoints


I have the same situation as yours, except that I'm building my app using Backbone.js and RequireJs and the app is running on localhost. My app can run in debug mode in Chrome but the breakpoints cannot be hit.

I solve the problem by mapping the Remote URL and my local directory. You can define this in your JavaScript debug configuration profile in the Run->Edit Configurations.

You can refer to this wonderful tutorial: Debugging your JavaScript app using WebStorm.

Happy debugging!