4jZW7jVSdS4U6PC's avatar

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 :/

0 likes
9 replies
moreus's avatar

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.

jisuo's avatar

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.

jisuo's avatar

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.

cahodk's avatar

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

cahodk's avatar

I had run serve on Homestead. Now it works.

cahodk's avatar

I did this:

serve domain.app /home/vagrant/Code/path/to/public/directory

Please or to participate in this conversation.