0

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.

2
  • Although it's not a complete answer like you need, check if this answer that I gave today may help you. Commented Apr 9, 2015 at 20:44
  • 1
    Sounds like you are trying to do JavaScript debug and not PHP. Make sure you are using correct "Debug" option (look at icons) Commented Apr 9, 2015 at 20:45

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.