Setting DBG
Thu, 2006-10-26 20:25
Many have asked how to get debugging working with their existing Php setup. The first thing you need to do is download the DBG module from our download page. There is a version for Windows and a version for Linux.
Put the right version of the module in the ext directory. Then add the following to your php.ini file. This example is for Windows:
extension=php_dbg.dll
[DBG]
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = 127.0.0.1
debugger.JIT_port = 7869
debugger.enable_session_cookie = true
Once you do this, you need to restart your web server.
Then verify DBG is loaded. Create a new page with the following:
<?
phpinfo();
?>
You should see a section for DBG.
I hope this helps people set DBG in their own Php setups.
- juanc's blog
- Login or register to post comments