![]() Make sure Xdebug or Zend Debugger are configured to connect to the host and port PhpStorm is running on. When the debugger cannot connect or refuses the connection, check the following: If any errors or warnings are present on the first lines, it's recommended to fix them before continuing. The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.1.20,Ĭopyright (c) 1999-2018, by Zend Technologies with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans To verify that no startup warnings or errors are displayed, run the following command: PhpStorm will also not be able to recognize the debugger being used. When this is the case, the debugger may fail to work. When running PHP, it can happen that a startup warning or error is displayed. To validate the debugging engine configuration, perform the steps described in Validate the configuration of a debugging engine Startup warnings and errors preventing the debugger from working To avoid this problem, you need to update the corresponding sections in the php.ini file as described in Configure Xdebug and Configure Zend Debugger. These tools cannot be used simultaneously because they block each other. To debug PHP code with PhpStorm, make sure that you have a debugging engine, either Xdebug or Zend Debugger, installed and configured properly. Making sure Xdebug or Zend Debugger are installed and configured ![]() When logging is no longer needed, it is recommended that you disable it. The log file will not automatically roll over or be truncated and may grow to a vast file size. Everything else will work after that just to be certain, you should also use the PhpStorm “Validate Debugger” dialog (task C.Log opened at 08:14:28 I: Connecting to configured address/port: 127.0.0.1:9000. This will re-install Xdebug on the updated container. If that ever happens, you only need to run the two commands from Step B again, which are: docker exec devkinsta_fpm bash -c 'bash /www/kinsta/private/setup-xdebug.sh' When DevKinsta updates the Docker container, it can happen, that the Xdebug module is deleted again from your container. That’s it! You can use the built-in Step-Debugger of PhpStorm with your DevKinsta website. Important settings:Įnable “Can accept external communications” Within 1-2 seconds you should see a list of green checks which indicate that everything is okay.URL to validation script: “ enter the URL of your DevKinsta website Local Path: “/Users/” same as in task 8 above Add a new path mapping that points to your DevKinsta/public folder:.Edit the path mappings of the new CLI interpreter.Image name: “ kinsta/devkinsta_fpm:0.1.3” Server: Docker (the one you created in task 1 above) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |