![]() ![]() To find out the correct IP, have a look at your Apache's access.log, Instead, it has usually an IP like 10.0.2.2. When using homestead / VirtualBox in the NAT network configuration, your development machine (which is running PHPStorm) does not have the IP 127.0.0.1 seen from inside the VM.remote_connect_back can not work in the CLI case because Xdebug can not detect the remote IP when you are in the console.I also tried to set xdebug.remote_autostart=On then sudo service php5-fpm restart but still my breakpoints never get hit in PHPStorm Php -d xdebug.profiler_enable=On artisan mycommand XDEBUG_CONFIG="idekey=PHPSTORM" PHP_IDE_CONFIG="serverName=server_name" php -dxdebug.remote_host="127.0.0.1" artisan mycommand My problem is when I'm inside homestead command line and I run a php artisan command then I can't get it to hit my breakpoints. In my browser -> Use XDebug Chrome Helper OR add to my URL ?XDEBUG_SESSION_START=.In PHPStorm -> Start Listening for connections.To start a debugging session the steps I follow are Here is my xdebug.ini inside homestead zend_extension=xdebug.so I then configured both homestead xdebug.ini and PHPStorm to make the debugging work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |