How do I get the xdebug. Is this the reason that the configuration shows Debugger: Not installed? 1) Well, 'theres no CLI interpreter to choose' sounds like you dont have PHP installed - do you 2) 'how do i navigate to my PHP. The xdebug.ini file is located at /etc/php/0.8/fpm/conf.d/20-xdebug.ini ini configuration file for Xdebug isn’t in the list: In docker-php-ext-xdebug.ini, I have all the mandatory options, and I can see in the CLI Interpreter Config. The Container is run through docker-compose. I am using PHPUnit through PhpStorm with a remote interpreter from docker. The PHP executable is configured: /usr/bin/php PhpStorm Debugger extension is not detected while using with PHPUnit. I configured a remote PHP Interpreter selecting Vagrant as the option and the Vagrant Instance Folder to be where my Vagrantfile is located in /trellis/ Inside PHPstorm’s settings, I do not have a CLI interpreter configured. So I think the issue is that my IDE cannot connect to Xdebug on my development instance. Because PHPUnit 9.6.3 is a new patch version (and not a new major. I can see Xdebug is installed on the vagrant instance, because I created a xdebuginfo.php file in my /site/web/ directory with the following: įetching the file in the browser, shows Xdebug 3.2.0 is installed and errors when trying to connect the debugger to the client. We start by installing PHPs command-line interpreter as well as the PHP extensions. So, I think I’m getting close to solving my issue. I think the only thing I've been irritated by is PHPUnit Code Coverage is still broken.Yeah, you’re right, I think I thought I had changed them, but didn’t lol. PhpStorm's remote support (including Vagrant, SSH and Remote Interpreter) is now excellent. You don't need PHP in Windows at all, and I've been developing this way for about 2 years. though I'm not convinced by the results.Īs an alternative I would highly recommend using Vagrant for your PHP needs. I've been using that to run Composer from PhpStorm. We will also ensure that we can run PHPUnit tests from the command line as well as. In this part of the tutorial series on developing PHP on Docker we will set up our local development environment to be used by PhpStorm and Xdebug. Set the PHP exectuable to wherever you put your download above. A guide to debug everything (IDE, Browser fpm, cli and workers) Posted by Pascal Landau on 11:00:00.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |