iorewforme.blogg.se

Phpstorm vagrant xdebug
Phpstorm vagrant xdebug








Validate the debugger from the remote server It is incredibly frustrating so hope someone can shed some light.ĮDIT - As per comment here is the screenshots of the setup: Really at a loss now as to what to try next. phpinfo() is showing: xdebug.idekey: PHPSTORM The changes I made in the php.ini file are active though. I changed the /etc/php/7.4/cli/php.ini file but phpinfo() says the configuration is coming from /etc/php/7.4/fpm/php.ini. I tried changing the port etc but then it doesn't validate so I'm confident that the server settings are correct and that PhpStorm is talking to the virtual machine correctly. Under Languages & Frameworks -> PHP -> Servers, I set this up on port 80, using Xdebug and without path mappings. The connection type for the deployment is now 'Local or mounted folder' but originally this was 'In-place'. When I started the project I set it up as a local web server option and I'm worried that I haven't changed the correct settings to now make this a remote web server. I tried setting up the Zero-configuration debugging without any luck.įor the debugging configuration, I have a PHP Remote Debug that validates correctly although it always defaults to the 'Local Web Server or Shared Folder' rather than the 'Remote Web Server' option.

phpstorm vagrant xdebug

E: Time-out connecting to client (Waited: 200 ms). I: Checking header 'HTTP_X_FORWARDED_FOR'. In the Xdebug log in the VM (at /tmp/xdebug.log) I: Checking remote connect back address. Have spent over a day trying to get PhpStorm to debug a Drupal site inside a Vagrant virtual machine running Xdebug and I feel I'm close - but just not quite there yet.Ĭurrently, in PhpStorm when debugging I have an error: Waiting for incoming connection with ide key 'PHPSTORM'










Phpstorm vagrant xdebug