You are here: Home // The PHP Debugger

Debugger Protocol

The debugger protocol is line-based. Each line has a type, and several lines compose a message. Each message starts with a line of the type start and terminates with a line of the type end. PHP may send lines for different messages simultaneously. A line has this format: date time host(pid) type: message-data date Date in ISO 8601 format (yyyy-mm-dd) time Time

Using the Debugger

PHP’s internal debugger is useful for tracking down evasive bugs. The debugger works by connecting to a TCP port for every time PHP starts up. All error messages from that request will be sent to this TCP connection. This information is intended for “debugging server” that can run inside an IDE or programmable editor (such as Emacs). How to set up the debugger: Set
Copyright © 2010 PHP Manual. SiteMap.
Designed by Web Design SiteConstruct. Powered by WordPress.