Update the xdebug listening port so we don't mistake it with the PHP one
rodzic
803642f1af
commit
4c09a1b78b
|
@ -5,7 +5,7 @@
|
|||
"name": "Listen for XDebug",
|
||||
"type": "php",
|
||||
"request": "launch",
|
||||
"port": 9000,
|
||||
"port": 9099,
|
||||
"pathMappings": {
|
||||
"/var/www/html/": "${workspaceRoot}"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue