Phpstorm xdebug11/29/2022 ![]() ![]() Xdebug.remote_port=9000 Running Xdebug in Docker containers Xdebug config used for Vagrant boxes: zend_extension=xdebug.so vagrant ssh -c "XDEBUG_CONFIG=\"idekey=PHPSTORM\" PHP_IDE_CONFIG=\"serverName=\" /vagrant/app/console my-app:my-command" See the example below how we usually invoke a debug session. If you want to debug a console command you have to set two environment variables. Enable debugging in your browser by using the debug helper, or adding ?XDEBUG_SESSION_START=PHPSTORM to your query string in case of an API.Starting to listen for connections (and maybe toggling “break at first line on PHP scripts”).Once your Xdebug extension is loaded and configured, debugging of your application should be as easy as: file: VagrantfileĬonfig.vm.network 'private_network', ip: '192.168.56.100' Web
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |