![]() I see this in PHPStorm's console: /usr/local/Cellar/php54/5.4. My question is: How can I actually tie the debugger to the command line within PHPStorm? right now when I create a built-in web server in PHPStorm it defaults to using the default php interpreter (i.e If I run the code using the built in web server. Using this tutorial I was able to incorporate the above command line into PHPStorm, so now I can actually run the code using phpstorm command line tools. Using the web app configuration doesn't work for this one. Install and Configure xDebug v3 on MacOS for PhpStorm Configure phpStorm Go through - Settings > PHP > Debug Ensure that Debug port is the same as. However I'm trying to actually set breakpoints for my mobile app (the mobile app sends http calls to the backend app which is a symfony app). This works just fine if I set up breakpoints for browsing the site itself or testing api calls from a browser based rest client like postman However for that to work I need to first run this command on the shell: php app/console server:run -env=dev I was able to set up a php web app debugger in PHPStorm by simply tying it to my localhost at a specific port and everything works fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |