I was playing with Symfony recently, and I needed to setup debug in PHPStorm using the PHP internal web server.
I’ve setup xdebug with PHPStorm in multiple environments, and each time I find a different glitch. Lucky me 🙂
So, I will assume that you have PHP, xdebug, PHPStorm installed.
These are the steps:
/etc/php5/cli/conf.d/20-xdebug.ini) and add the following lines:
xdebug.remote_autostart = 1<br /> xdebug.remote_enable = 1
php bin/console server:run
You’re done! Can you believe it?
This time the difference was that
Until for next xdebug setup tip, bye 😉