Drupal 7 - phpStorm user - debugging javascript in WebStorm

Hi, all.

I've been using phpStorm for about 2-years now and love it. It just keeps getting better and makes my life so much easier.

I've mainly done php work but I'm moving into some JavaScript as well and need to debug my javascripts.  So, I just downloaded the WebStorm trial.

I'm setup to run and debug php on my Drupal 7 install locally. Works great.

How do I get breakpoints to be honored when my javascripts run? I was hoping WebStorm would be as simple to setup as phpStorm for listening to javascript executions and breaking on my breakpoints, but there is clearly additional work to be done for the setup. Any articles that might help someone in my situation?

That is: phpStorm debugger, working locally on Windows 10, looking to now debug javascripts in what I assume will require WebStorm? (even better if phpStorm could debug javascript).

Thank you in advance for any helpful pointers!

Tom

0
1 comment

Hi there,

PhpStorm = WebStorm + PHP + DB support

You do not need WebStorm if you already using PhpStorm.

https://www.jetbrains.com/help/phpstorm/javascript-specific-guidelines.html#ws_js_debugging_overview

1

Please sign in to leave a comment.