Update the xdebug listening port so we don't mistake it with the PHP one

master
Baptiste Bouchereau 2020-03-23 15:19:44 +01:00
rodzic 803642f1af
commit 4c09a1b78b
4 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -5,7 +5,7 @@
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"port": 9099,
"pathMappings": {
"/var/www/html/": "${workspaceRoot}"
}

Wyświetl plik

@ -6,4 +6,3 @@ COPY php.ini /usr/local/etc/php/
# Xdebug configuration
RUN apk add --no-cache $PHPIZE_DEPS # dependencies needed by pecl
RUN pecl install xdebug && docker-php-ext-enable xdebug
EXPOSE 9000

Wyświetl plik

@ -27,7 +27,7 @@ In vscode install the **PHP Debug** extension by Felix Becker. Then select the `
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"port": 9099,
"pathMappings": {
"/var/www/html/": "${workspaceRoot}"
}

Wyświetl plik

@ -13,7 +13,7 @@ error_log = /dev/stderr;
;xdebug configuration
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_port = 9099
xdebug.remote_autostart = 1
xdebug.remote_connect_back = 0
xdebug.remote_host = 192.168.0.44