Debug PHP with Eclipse?

前端 未结 3 593
无人及你
无人及你 2020-12-13 15:37

What is the best way to debug PHP with Eclipse? Specifically, I\'m trying to work through some issues on a Drupal 6 installation.

I like Eclipse\'s debugging for Jav

3条回答
  •  既然无缘
    2020-12-13 16:42

    You Can add this code in php.in file for enabling debugger.

    [XDebug]
    zend_extension = "D:\opt\lampp\php\ext\php_xdebug.dll"
    xdebug.remote_enable=On
    xdebug.remote_autostart=On
    xdebug.remote_handler=dbgp
    xdebug.remote_host="localhost"
    xdebug.remote_port=9000
    xdebug.remote_mode=req
    

提交回复
热议问题