Commit cb463764 authored by Ahmad Asjad's avatar Ahmad Asjad
Browse files

xdebug 3 config

parent e56e9e39
......@@ -41,6 +41,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
# PHP Extensions
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
RUN echo "zend_extension=$(find /usr/local/lib/php/extensions -name xdebug.so)" >> /usr/local/etc/php/conf.d/app.ini
# Apache
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
......
......@@ -5,10 +5,22 @@ date.timezone = 'Europe/Paris'
; XDebug configuration
;xdebug.remote_enable = 1
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
;xdebug.renite_enable = 1
;xdebug.max_nesting_level = 1000
;xdebug.profiler_enable_trigger = 1
;xdebug.profiler_output_dir = "/var/log"
;zend_extension=xdebug
;zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so"
[xdebug]
xdebug.mode=develop,debug
;xdebug.client_host=host.docker.internal
xdebug.client_host=172.17.0.1
xdebug.client_port = 9090
;xdebug.client_host=localhost
xdebug.start_with_request=yes
xdebug.log = "/var/log/apache2/xdebug/xdebug.log"
xdebug.idekey = VSCODE
runkit.internal_override = 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment