phpStorm + PHPUnit + xDebug - how do I debug my test cases? Follow
I set up xDebug 2.1.4 and am able to debug web pages from the browsers.
I also have PHPUnit set up and can run tests from within PHPUnit.
Now, how do I set up phpStorm to be able to debug my test cases? Currently, it doesn't stop on the breakpoints.
Please sign in to leave a comment.
Exactly the same as you run them -- just click on "Debug" button and not "Run" (I assume you are referring to "PHPUnit" run configuration type).
If, for whatever reason, it does not work, then I recommend creating very simple PHP script and try debugging it first (PHP Script run configuration type). When it will be solved, then try debugging PHPUnit again.
What do you mean? Can you talk in terms of what button/menu item I should press etc please?
Oh, I got it :) Thanks!