how to unit test?
Hi All,
I am trying to get up to speed on phpStorm and local development.
I have xdebug working locally.
I have phpunit working locally.
My code is an endpoint that accepts POST data. It is in the root of a virtualhost, and I can reach it using my browser.
My unit test sends the POST data and displays the returned result.
When I run my test, the debugger is debugging the test, but will not debug the endpoint code.
How do I set things up correctly, so when running my unit test, I can set a breakpoint in my endpoint code and have it stop there?
I hope this is clear enough, if not, please ask for clarification and I will do my best to answer.
Please sign in to leave a comment.
Please check: https://confluence.jetbrains.com/display/PhpStorm/Simultaneous+debugging+sessions+with+PhpStorm