Thread "How to debug?"

Tabs

  • Deleted
    Deleted | 10. Jun 2020, 16:56 Select
    How to debug?
    Im working developing with ilias and I found in the plugins that I'm working a nasty bug that It will be easy to catch with a debbuger.

    Can you help me in how I can set up xdebug for ilias plugins in a remote server? I tried but my debbuger connects but doesn't catch any
  • Deleted
    Deleted | 6. Oct 2021, 13:07 Select
    Re: How to debug?
    I had the same problem, i hope I can help you.

    On debian you have to install php-xdebug.
    Than add this to your /etc/php/7.4/apache2/conf.d/20-xdebug.ini

    xdebug.mode="debug"
    xdebug.trigger_value="XDEBUG_ECLIPSE"
    xdebug.start_with_request="yes"
    xdebug.client_host=your-desktop-ip

    Than I started listen for debug connections in PhpStorm.

    You find that usefull.