Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable xdebug on HHVM 3.3.0?

I'm trying to setup remote debugging for my virtual Ubuntu 14.04.

I've enabled xdebug on my HHVM 3.3.0 by adding this to the server.ini:

hhvm.xdebug-not-done.enable=1
hhvm.xdebug-not-done.remote_enable=1

But it doesn't work for me. Should I perform any other moves to make it work?

like image 236
Pavel Demidyuk Avatar asked Oct 29 '14 08:10

Pavel Demidyuk


1 Answers

HHVM 3.3 is no longer supported, however since HHVM 3.4 you don't need the -not-done in your configuration (Yes, It's stable!). For example

xdebug.enable=1
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.idekey="PHPSTORM"
xdebug.remote_host="localhost"
xdebug.remote_port=9089

Ref: HHVM Debugger Support on JetBrains Youtrack

like image 69
Steel Brain Avatar answered Sep 21 '22 05:09

Steel Brain