Is it possible to use xdebug on Ubuntu?

后端 未结 7 1693
甜味超标
甜味超标 2020-12-12 14:15

I am trying to debug some PHP code and wanted to download the XDebug debugger for PHP. All I see there is Windows binaries for downloading. Is it at all possible to use it

7条回答
  •  遥遥无期
    2020-12-12 14:49

    On a newer Ubuntu (at least on 14.04 LTS), I needed to activate the module as well. So, in total I did:

    sudo apt-get install php5-xdebug
    sudo php5enmod xdebug
    

    After a restart of the server, xdebug was available.

提交回复
热议问题