Skip to content

xdebug

🛠️ Tools · ⬅ Home


Open source PHP debugger.

See xdebug.php for implementation details within PHP.

Usage

xdebugInstall [ --help ]

Install the xdebug PHP Debugger

Arguments

  • --help - Flag. Optional. Display this help.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

Usage

xdebugEnable [ --help ]

Enable Xdebug on systems that have it

Arguments

  • --help - Flag. Optional. Display this help.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

Environment

  • XDEBUG_ENABLED - Boolean. Is xdebug enabled? Calling application can honor this environment variable to automatically connect to the debugger.

Usage

xdebugDisable [ --help ]

Disable Xdebug on systems that have it

Arguments

  • --help - Flag. Optional. Display this help.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

Environment

  • XDEBUG_ENABLED - Boolean. Is xdebug enabled? Calling application can honor this environment variable to automatically connect to the debugger.