Open StephanKrauss opened 4 years ago
Hello,
i have modify the Dockerfile.
RUN yes | pecl install xdebug \ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.collect_return=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.collect_includes=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.show_mem_delta=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.collect_params=4" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.trace_format=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_autostart=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_host='localhost'" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_port=9000" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_handler='dbgp'" >> /usr/local/etc/php/conf.d/xdebug.ini
I work with PhpStorm. When i set a breakpoint in PhpStorm the output don't stop on the breakpoint. This is my problem.
Have you an idea ?
Your sincerly
Stephan
Hello,
i have modify the Dockerfile.
RUN yes | pecl install xdebug \ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.collect_return=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.collect_includes=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.show_mem_delta=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.collect_params=4" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.trace_format=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_autostart=1" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_host='localhost'" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_port=9000" >> /usr/local/etc/php/conf.d/xdebug.ini \ && echo "xdebug.remote_handler='dbgp'" >> /usr/local/etc/php/conf.d/xdebug.ini
RUN docker-php-ext-enable xdebug
I work with PhpStorm. When i set a breakpoint in PhpStorm the output don't stop on the breakpoint. This is my problem.
Have you an idea ?
Your sincerly
Stephan