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.
-
Although it's not a complete answer like you need, check if this answer that I gave today may help you.Ravan Scafi– Ravan Scafi2015-04-09 20:44:49 +00:00Commented Apr 9, 2015 at 20:44
-
1Sounds like you are trying to do JavaScript debug and not PHP. Make sure you are using correct "Debug" option (look at icons)LazyOne– LazyOne2015-04-09 20:45:03 +00:00Commented Apr 9, 2015 at 20:45
Add a comment
|
1 Answer
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.