I build Drupal sites exclusively, so I've found that remote debugging works best for this purpose. The setup for this requires some setup on both the Google Chrome and the PhpStorm sides. PhpStorm is a great PHP IDE, but did you know it can also debug JavaScript pretty well too? Here's how to debug scripts using Google Chrome as a host web browser.Īs of 2012, all of the major Web Browsers include some form of JavaScript debugging built right into them, so you may be asking, what's the point in getting your PHP IDE to do this? My impetus for trying this was wanting to use one common tool for the purposes of debugging code, plus whilst the tools offered by PhpStorm might not provide anything that can't otherwise be done in-browser, I personally find following the code easier in PhpStorm than say Chromes in-built console.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |