How can I get Xdebug working in PHPStorm with Laravel? -
i'm following laracast phpstorm , setting xdebug. when run xdebug on controller in laravel project, prompts me install chrome extension. if install said chrome extension, browser window stating fatal error: class 'basecontroller' not found . jeff doesn't mention extension, nor in comments. result, i'm not seeing in debugger except "connected jetbrains chrome extension". gives? followed tutorial precisely.
i follow jetbrains guide plus proxying tunneling 9000 port.
for me proxying / tunneling debugger connection trick.
i need bring port 9000 local machine this:
ssh -r 9000:localhost:9000 vagrant@192.168.50.10 //or wathever ip of homestead
instead of run homestead sh
login homestead machine.
i hope works you.