PhpStorm 10 HHVM debugging
To enable command-line debugging for HHVM in PHPstorm 10 do the following:
- Add HHVM as an interpreter to PhpStorm (Settings->Language&Frameworks->PHP->Interpreter)
- Note the Xdebug port that is set in PhpStorm (Settings->Language&Frameworks->PHP->Debug)
- Make PhpStorm start listening for xdebug connections
- Place the following in your
/etc/hhvm/php.ini
file, ensuring the remote_port matches that set in PhpStorm:
xdebug.enable=1
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.remote_autostart=1
xdebug.idekey=“PHPSTORM”
xdebug.remote_host=“localhost”
xdebug.remote_port=9000