Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 925 Bytes

File metadata and controls

32 lines (20 loc) · 925 Bytes

XDebug.NET

.NET implementation of XDebug API for PHP debugging. Provides API for automating PHP debug session for data collection and DAST tooling implementation.

Implements XDebug.NET server and automation API

Sample DAST tool that uses XDebug.NET API

TODO

  • Implement support for most useful commands: setting breakpoints, getting stack trace, coniguring debug session parameters
  • Implement support for notification messages (notify)

Usage

XDebug extension should be configured in order to connect to XDebug.NET server TCP-port.

E.g., this configuration segment may be used in php.ini:

zend_extension = "...path_to/xdebug.{so.dll}"

[XDebug]
xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.client_host = <XDebug.NET IP address / hostname>
xdebug.client_port = <XDdebug.NET port>