XDebug setup for Jailed user

Discussion in 'General' started by SupportMyster, Mar 26, 2025.

  1. SupportMyster

    SupportMyster New Member

    First, Thanks Till & the host of devs who made & continue work on ISPConfig. Used it for years and love it.

    Now I would like to set X-Debug up for code coverage for PHPUnit on my local dev server.
    Ubuntu 20, PHP 7.4, Apache per the Perfect setup docs (which are greatly appreciated too)
    I have installed php-xdebug and php -v shows it when I am logged in as root.

    When I login as a site user (which are jailed) php -v does not show xdebug and phpunit says No code coverage driver found.

    What are my next steps?
    - Add a config section to jk_init.ini? What goes in that section?
    - Add xdebug path into the php section(s)? Which/All and How do I find that path, 'which xdebug' ?
    - Adding xdebug and the path in ISPConfig & reapplying to the already created users?
    - Are there other things to consider? I read in the forum that adding the php.ini settings through the control panel UI didn't seem to work for people

    Thank to all for any guidance provided
     

Share This Page