XDebug is highly configurable and adaptable to a variety of situations. You can inspect local variables, set watches, set breakpoints, and evaluate code, live. You can also navigate to declarations, types, and files using the Go To shortcuts and hypertext links. Use a global PHP include
path for all projects or customize it per project.
The NetBeans IDE for PHP also offers command-line debugging. The PHP program output appears in a command-line display in the IDE itself, and you can inspect the generated HTML without having to switch to a browser.
You can debug scripts and web pages either locally or remotely. The NetBeans PHP debugger integration allows you to map server paths to local paths, in order to enable remote debugging.
XDebug offers features such as the following:
Automatic stack tracing upon an error
Function call logging
Enhancing the
var_dump()
output and code-coverage information
Stack traces show you where errors occur, allowing you to...