![]() Now were running PHP and fpm in a container, so we need to inject the configuration in with docker-compose. Go to Run > Debug then select the configuration what we made earlier (PHP Remote Debug):Ĭ. ini, or load in a custom ini or override. It comes with everything you need for a smooth development workflow. It makes it possible to start Shopware 6 very quickly using dockware.io. Set breakpoint, and turning on Start Listening for PHP Debug Connectionī. Dockware is basically a managed Docker setup for Shopware 6. At Naept, we adopted docker-compose a few months ago. Go to Run > Web Server Debug Validation, on Path to create validation script I point the value into my public path of project, and URL to validation script I point to my nginx docker host.Ī. Each dev environment has its own Xdebug config. Go to Run > Edit Configurations., create a new PHP Remote Debug configuration:ĭ. ![]() Go to Preferences > PHP > Debug > Dbgp Proxy, set like this (note: IDE Key must same with the value of xdebug.idekey on php.ini):Ĭ. Go to Preferences > PHP > Debug, set like this:ī. After selecting an Interpreter, we are going to map our working project with container path, my working project path is $HOME/DOO/api docker and I will map into /var/www/, so change the Docker container value:Ī. Go to `Preferences > PHP, add new interpreter, select new interpreter from Docker, vagrant, etc.Ĭ. Here we want to configure our PHP docker interpreter.Ī.Configure Zend Debugger Download and install Zend Debugger. I hope your container runs without any problems, then now we are going to configure PHPStorm. How To Run Xdebug Using PHPStorm in Docker - Srijan php - Configuring Xdebug with docker. Enter fullscreen mode Exit fullscreen mode
0 Comments
Leave a Reply. |