AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Phpstorm debug remote php10/11/2023 Your XDebug configuration on PHP/Aache side:.I had quite some troubles when I touched XDebug remote debugging the first time yesterday.Ī few general hints, you are overflown with various tutorials and guides anyway. start url: the link of ur project homepage: Ħ. server: localhost (browse > + > name: whatever | host: localhost or 127.0.0.1)ĥ.5. run > edit configuration > click the green + button on the left > select b. To find the path type in the terminal: $ which phpĮxample: /usr/local/Cellar/php56/5.6.5/bin/phpĥ.1. click the … button > click the + button > other local > set PHP Excitable path, set an interpreter (set the parent directory of where the bin directory of PHP executable is loaded)ģ.2.1. set the language level to the correct PHP version of this projectģ.2. Preference > languages and framework > PHP >ģ.1. Xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp" Normal file should have something like this: Zend_extension="/usr/local/Cellar/php56-xdebug/2.3.2/xdebug.so" add the zend_extension to be = the path copied above edit the extension related configuration file which should be injected to the main php.ini automatically: copy the path of the exact one you needĮxample: /usr/local/Cellar/php56-xdebug/2.3.2/xdebug.soġ.3.3. check what PHP version u r using php -ini (see the loaded file)ġ.3.2. install xdebug module (MAC installation steps)ġ.1.1. Steps 7-8 are made once per debuggin session.ġ. Step 6 is made once per PhpStorm project. Steps 1-5 are made once per php installation. Your PhpStorm should stop on the breakpoint and you can start squashing bugs in your code.
0 Comments
Read More
Leave a Reply. |