I'm sorry in advance, I did my research and I noticed the same question multiple times on this page, I've been trying to figure it out by myself but I can't quite comprehend how to get this working with my specific configuration
This is a project from work which has this Dockerfile:
FROM php:7.3-apache
RUN apt-get update && apt-get install -y acl unzip \
    && rm -r /var/lib/apt/lists/*
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
RUN install-php-extensions gd intl pdo_mysql soap xdebug zip
RUN echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
    && echo "xdebug.remote_port=10000" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
    && echo "xdebug.remote_host=172.17.0.1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
WORKDIR /var/www/app
COPY --from=composer:1.10 /usr/bin/composer /usr/bin/composer
COPY docker/000-default.conf /etc/apache2/sites-enabled/000-default.conf
COPY docker/app.conf /etc/apache2/conf-enabled/z-app.conf
COPY docker/app.ini $PHP_INI_DIR/conf.d/app.ini
RUN ln -s $PHP_INI_DIR/php.ini-development $PHP_INI_DIR/php.ini
RUN a2enmod rewrite
It's supposed to already have Xdebug working, no?
I installed the php debug extension on VSCode and this is my launch.json config:
{
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 10000,
            "pathMappings": {
                "/var/www/app": "${workspaceFolder}"
            },
}
I start the debugging session but the project doesn't stop on breakpoints, so I'm just lost
I hope you guys can help me out, thanks!
 
    