![]() Now, your PHP should be configured and you can set up PhpStorm. If you run into any problems you can have a look at the Xdebug log at /tmp/xdebug If you do this update, remember to restart php-fpm using sudo service php7.4-fpm restart. Then SSH into your development machine and use vi /etc/php/7.4/fpm/conf.d/20-xdebug-host.ini to edit it. To do this, open the Xdebug config file and update the config setting to set xdebug.start_with_request to 1. Optionally, you can set the debug connection to start automatically when you make a request. Alternatively, you can set up the port forwarding yourself by using ssh -R 9003:localhost:9003. If you're using Frontastic CLI, you can do this by using frontastic xdebug. □įor this to work, you need to have PHP unit tests set up in your project. In order to set up debugging in PhpStorm, you need to allow Xdebug running on your Frontastic sandbox to connect to PhpStorm. Working with environments in the Frontastic studio.Scheduling page versions for different locales.Locales and translations in the Frontastic studio.Dependency inside a private npm-repository.Frontastic sandbox error: component initialize failed.Run and debug PHPUnit tests in PhpStorm. ![]()
0 Comments
Leave a Reply. |