Good day. Can you tell me how to set up a debugger in phpStorm?
Thanks in advance.
1 answer
It's very simple) Run-> Edit Configurations. A debug configuration window will open. Click Insert -> PHP Web Application. In the window you enter Name, opposite the server you click on ... In the window you enter name and host (test.local). Click OK. Choose a server. Start url you put "/". Debug - Break at the first line. Browser - default. Click OK. Shift + F9 and there will be happiness. Before that, just make sure that xdebug is installed and working correctly for you. You can see it through php - phpinfo (); Good luck
- The answer is a bit outdated: "Press Insert -> PHP Web Application" - PHP Web Application does not exist - EmptyMan
|