2014-10-29 63 views
5

我想爲我的虛擬Ubuntu 14.04安裝遠程調試。如何在HHVM 3.3.0上啓用xdebug?

我加入這個到server.ini啓用了XDebug我HHVM 3.3.0:

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

但它不爲我工作。我是否應該採取其他行動來使其發揮作用?

+0

還是實際...的 – 2014-11-03 18:09:19

+0

可能重複(http://stackoverflow.com/questions/19454676/debugging-in-hhvm) – tback 2014-11-27 14:47:34

回答

6

HHVM 3.3不再支持,但是由於HHVM 3.4在配置中不需要-not-done(是的,它很穩定!)。例如

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

編號:HHVM Debugger Support on JetBrains Youtrack

+0

[中HHVM調試?] @Oxwivi我在xdebug文檔中發現了大部分這些文檔,如果您希望它與Eclipse一起工作,您必須調整xdebug幫助程序以將IDE密鑰更改爲eclipse,並在Eclipse和HHVM配置中設置相同的IDE密鑰。 – 2015-10-30 01:26:39

+0

什麼「xdebug文檔」?你能把它們連起來嗎? – Oxwivi 2015-10-30 02:24:35

+0

http://xdebug.org/docs/ – 2015-10-30 05:27:27