Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using Xdebug for PHP allows developers to debug phpPHP-processes by connecting interactively.

...

We support the usage of xdebug by installing and configuring the required packages on the application instances that use PHP-servers.

To allow remote debugging we’ll we install a an Xdebug proxy on the bastion host of your environment.

If you need To enable Xdebug for PHP please contact our root360 supportcustomer service.

Xdebug Usage

When Xdebug is activated, you can connect to your Xdebug sessions by following these steps:

  1. On your bastion host, start the programm program xdebug-helper.
    This command will start a an xdebug proxy in the background and print out connection information.

  2. Run the printed SSH-command in a dedicated terminal

  3. connect your Xdebug client to the debugger

    • debug-proxy: localhost:9001

    • client-listen-port: the random port printed by the helper-command

    • IDE-Key: one of the keys printed by the helper-command
      (Every role gets its own IDE-Key to allow full control of the debugging process.)

...