Well right now it sounds like you can debug locally. Just turn on debug in Storm and set a breakpoint in a controller. It should stop and display it in Storm. You need to install xdebug remotely on the sever. Both in the HTTP PHP and the CLI PHP if you want to debug command line PHP. Make sure the xdebug port is open in remote server, i.e. not blocked by the OS. Config Storm session to remote server. Storm support site has great videos on doing this.
Configuring PHPStorm, XDEBUG and VAGRANT
Hello, I have been trying to set up a nice debugging environment on my developing machine and I haven't been doing much progress. I am using OSX to run PHPStorm and my Laravel 5.1 is running on an Ubuntu Vagrant Box. So I installed xdebug on my MAC using brew and configure my PHP interpreter to point to /usr/bin/php on and set the php.ini to point to the executable there. PHPStorm has to picked up on that. My question is: Shouldn't Xdebug be running on the server? Has anybody done this setup before?
I believe he is, but since you use mac it's really easy to setup a php environment on your local machine. However I'm a big fan of Homestead and I use it on my mac as well, but never had the needs to use XDEBUG. As mentioned before you need to set it up correctly on your server and locally.
I found this tutorial between my favourites: http://www.sitepoint.com/install-xdebug-phpstorm-vagrant/
Please or to participate in this conversation.