0
votes

I'm following the Laracast for PHPStorm and setting up xdebug. When I run xdebug on a controller in my laravel project, it prompts me to install a chrome extension. If I install said chrome extension, I just get a browser window stating Fatal Error: Class 'BaseController' not found . Jeff doesn't mention this extension, nor does anyone in the comments. As a result, I'm not seeing anything in the debugger except "Connected to JetBrains Chrome Extension". What gives? I followed the tutorial precisely.

1
Although it's not a complete answer like you need, check if this answer that I gave today may help you. - Ravan Scafi
Sounds like you are trying to do JavaScript debug and not PHP. Make sure you are using correct "Debug" option (look at icons) - LazyOne

1 Answers

2
votes

I follow this jetbrains guide plus proxying tunneling the 9000 port.

For me Proxying / Tunneling the Debugger Connection do the trick.

I need to bring port 9000 to my local machine like this:

ssh -R 9000:localhost:9000 [email protected]  //or wathever ip of you homestead

instead of run homestead sh for login to my homestead machine.

I hope works for you.