hooglwestcoast.blogg.se

Phpstorm xdebug not working
Phpstorm xdebug not working








phpstorm xdebug not working

connection.PhpDebugConnection - 1094920471#-stop reading connection.PhpDebugConnection - 1094920471#-input stream is finished 12:52:43,306 INFO - n.XdebugConnectionConfigurator - Xdebug protocol doesn't support command: 'feature_set -i 5 -n resolved_breakpoints -v 1' connection.PhpDebugConnection - 1094920471#-connection started 12:52:43,296 DEBUG - il.connection.ServerConnection - Incoming connection on port 9002 from 127.0.0.1 The following error: Cannot accept external Xdebug connection. This is completely impractical but it is more than what happens with Xdebug 2.7.2.lando.yml This approach allows diagnosing the problems, if any, discarding the IDE factor from the outset. The only way to trigger it again is to run lando restart. Refreshing the page again will never trigger the breakpoint again. However, the breakpoint will only ever be triggered once. The point is, the breakpoint is triggered. Other times I have to refresh my site after lando restart completes which will trigger the breakpoint. Occasionally, lando restart will trigger the breakpoint.Set a breakpoint that will definitely be called on my site's home page. php -version (shows "with Xdebug v2.6.1").However, downgrading Xdebug to 2.6.1 does cause the breakpoints to be triggered, but only once. I really want to use Lando, but I just cannot go back to the days before step debugging. Modify php.ini file with xdebug settings: 4. Create docker-compose.yml file in 'docker' folder: 3. If step debugging is working, you will see two log entries, similar to those below, in Xdebug’s log file, and your text editor or IDE will stop on the breakpoint that you set. Create 'Dockerfile' file in 'docker' folder: docker build -t php-xdebug-custom -f Dockerfile. After you’ve added the new configuration and saved the file, restart the container using the following command: 1. It is only the breakpoints that do not work.Īny help would be appreciated. I will setup a very simple php page and debug it using xdebug and PhpStorm. Note: If you want to change the Xdebug listening port of PhpStorm, click File > Settings.

phpstorm xdebug not working

Please see my PhpStorm configuration below.Īlso note that PhpStorm will consistently stop on the first line if I check "Break at first line in PHP scripts".

#PHPSTORM XDEBUG NOT WORKING HOW TO#

I've followed every documentation/tutorial I can find on how to setup Lando/Xdebug/PhpStorm. Step debugging via breakpoints using Xdebug and PhpStorm does not work with the versions listed below.










Phpstorm xdebug not working