![]() Knowing PHPStorm, there’s probably 10 more ways to do it. Or, Run > Debug 'Your Configuration', or Run > Debug 'Your Configuration', or the keyboard shortcut for it.įor me it’s ^D to run the latest debug configuration. and choose the configuration you just created. Run the debuggerįinally! What you can do now is go to Run > Debug. Or, just keep editing that configuration every time. Rinse and repeat for every URL you want to debug on. The start URL should be whatever URL you want to run the debugger on.In the Server dropdown, select the server you just created.Add a new PHP Web Application and name it whatever.The host should be your dev domain, like: v.Open Preferences > Languages & Frameworks > PHP > Servers.I was too.įirst, create a server that PHPStorm will use to whip open a debug session in the browser: However if you haven’t Xdebugged before, you might be scratching your Set up the app for debuggingĪt this point, Xdebug should be good to go. If you don’t uncheck those checkboxes, the debugger will stop on Valet’s server.php every time. In the Xdebug section, Debug Port should be 9001 (like you set in php.ini earlier).Open to Preferences > Languages & Frameworks > PHP > Debug. ![]() Obligatory screenshot of what you just read #1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |