Symfony/Shopware: Debug CLI commands
Did you know you can access the web developer toolbar after running a PHP CLI command? Unfortunately it seems, there are no queries collected in Shopware? But one get a little output, hopefully it helps you!
Did you know you can access the web developer toolbar after running a PHP CLI command? Unfortunately it seems, there are no queries collected in Shopware? But one get a little output, hopefully it helps you!
Today I learned how the indexer worked. I knew already, that while indexing in the backend you can decide which indexer not to run. But what I didn’t know, it is the same on the CLI with dal:refresh:index. If you look into the cli command help we can check the options: We are interested in […]
You are trying to debug a Command, ScheduledTask or Message on the queue? Symfony Profiler and toolbar For the frontend it is easy, you can just use the Symfony Profiler – easily activated by turning on the dev mode. This can be done, by changing APP_ENV=“prod“ to APP_ENV=“dev“ in your .env file. And then you […]