PhpStorm 10 HHVM debugging


To enable command-line debugging for HHVM in PHPstorm 10 do the following:

  1. Add HHVM as an interpreter to PhpStorm (Settings->Language&Frameworks->PHP->Interpreter)
  2. Note the Xdebug port that is set in PhpStorm (Settings->Language&Frameworks->PHP->Debug)
  3. Make PhpStorm start listening for xdebug connections
  4. 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
  1. No comments yet.
(will not be published)