![]() The following worked for me: php -dxdebug.remote_autostart=on -dxdebug.remote_connect_back=off 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |