![]() ![]() Xdebug: Could not connect to debugging clientĪnd added: xdebug.client_host=įollowing LazyOne's comment I updated to Xdebug v3 configuration settings. ![]() Xdebug.remote_log=/var/Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-( This is how the final config ended up looking (for Xdebug 3.0.1): zendextensionxdebug.so xdebug.modedevelop,debug xdebug.clientport9009 xdebug.clienthost127.0.0.1. RUN pecl install xdebug & docker-php-ext-enable xdebugĪnd this is my original Xdebug configuration: Use this page to configure the behaviour of the Xdebug and Zend Debugger. If the plugin is disabled, enable it on the Installed tab of the Settings Plugins page, as described in Managing plugins. The PHP plugin is bundled with PhpStorm and activated by default. I install Xdebug in the following way in my php-fpm Dockerfile: # Install xdebug Ctrl+Alt+S The page is available only when the PHP plugin is enabled. Thanks to LazyOne's I took another look into the configuration and found out that the Step Debugger is disabled. If I try to use Debugger Configuration validation in PhpStorm I get the following: There is no blocking you would expect from breakpoints and no callback to PhpStorm. I set up all the ports, 'Can accept external connections', set a breakpoint in index.php. Everything is working fine, but I have some problem with debugging via Xdebug. In PhpStorm I set up the SSH connection, it installed the headless PhpStorm on the remote server and opened the JetBrains Client. My environment is: php + apache + xdebug on local centos VM, my mysql db and PHPStorm are on Windows desktop for development. Hobby Airport (HOU), Ellington Field (EFD) & the Houston Spaceport. When xdebug remote debug is enabled and I enable debug listening in PHPStorm, it takes a short while to stop at the breakpoint, but not as slow as disabling phpstorm debug listening. I run the application in the browser with Xdebug Helper enabled. I'm doing development on our remote server. The Houston Airport System manages George Bush Intercontinental/Houston Airport (IAH), William P. I am listening in the PhpStorm for Xdebug connection (with breakpoints throughout the code): I use Chrome's Xdebug Helper plugin to send the session keyĪnd in phpinfo() I can see that the PHP receives the Xdebug session key: I have checked can accept external connection at PHP - Debug - Xdebug and. Using phpinfo() I get following php configuration:Īnd I have the following PhpStorm configuration:ĭBGp Proxy (Don't really think is relevant) Hello guys, im using PHPStorm and trying to run Xdebug according this video. docker/php/local.ini:/usr/local/etc/php/conf.d/local.ini Regardless of where your config file lies, you will need to add in the following: existing stuff here xdebug.remoteenable1 xdebug.remoteport9000 xdebug.idekeyPHPSTORM123 xdebug.remoteconnectback1. ![]() Inside docker-compose.yaml I have following configuration for my app container: version: "3.7"Ĭommand: /var/www/docker/php/application-init.sh I read different articles and other threads, but still it's not working. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |