PHPStorm 8 + Homestead 1.2 + xDebug Hello Everyone.
I know there was a topic on this inside the previous forum
https://laracasts.com/forum/?p=1648-phpstorm-homestead-xdebug/0
but I tried to follow it and it didn't work for me maybe because of PHPStorm 8 I don't know.
I've setup my 20-xdebug.. file like the thread suggest and also I've downloaded and setup my Extension in chrome.
Does anyone else have this problem with PHPStorm 8? Am I missing something? Maybe the past thread is not updated :/
Hi ludo,
I have the same issue, when i launch the debug in phpstorm, it always report :waiting for incoming connection with ide key '12323'.
if expert on this area could provider help.
thanks.
Yeah I got the same problem and same message: "waiting for incoming connection with ide key '12323'."
Probably tried every guide I found on google, but it just won't trigger that breakpoint.
Ok I found my problem..... I had activated "hhvm: true" in my Homestead.yaml file to test it out. When I removed it and restarted the VM it just worked.
I have also tried these
http://www.sitepoint.com/install-xdebug-phpstorm-vagrant/
https://laracasts.com/forum/?p=1648-phpstorm-homestead-xdebug/0
http://blog.elenakolevska.com/debugging-laravel-on-homestead/
... and a few others
I am missing something. But what?!?
I have set Xdebug helper to phpstorm and enabled the Debug.
When I visit my test apps frontpage no breakpoints are working.
I can stop the flow with xdebug_break().
I have setup a server in PhpStorm, with the following settings:
/Users/carsten/Workspace/laravel/appname >> maps to >>
/home/vagrant/Workspace/laravel/appname
/Users/carsten/Workspace/laravel/appname/public >> maps to >>
/home/vagrant/Workspace/laravel/appname/public
I have tried with a PHP Remote Debug setup, A PHP Web Application and without any specific setup at all. Nothing seems to hit Homestead.
When I hit debug in PhpStorm I also have:
Waiting for incoming connection with ide key 'PHPSTORM'
Any help appreciated :)
/Carsten
I had run serve on Homestead. Now it works.
Fuck yea @cahodk it works for me too!!
I follow those guides
The triggered php artisan serve and it works
FINALLY :D
I did this:
serve domain.app /home/vagrant/Code/path/to/public/directory
Please sign in or create an account to participate in this conversation.