Skip to content

Xdebug v3 remote step debugger config missing #200

@jaakkolehtonen

Description

@jaakkolehtonen

Hi, seravo/wordpress:development docker image ships with xdebug v3 but configuration (/etc/php/7.4/fpm/conf.d/20-xdebug.ini) is still for v2.

This fixes remote step debugging in v3:

docker-compose exec --user vagrant wordpress bash

sudo nano /etc/php/7.4/fpm/conf.d/20-xdebug.ini

# Append these to end of file
xdebug.mode=develop,debug
xdebug.client_host=host.docker.internal
xdebug.start_with_request=yes
xdebug.log=/data/log/xdebug.log

wp-restart-php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions