Magento 2 : Debug cli commands

Posted . Visible to the public.

How to debug cli command in magento 2

Steps:

1) Export the key (if you are using docker, do it in container)

export XDEBUG_CONFIG='PHPSTORM'

2) Start the phpstorm Bug Debug

3) Execute the cli command

vasan
Last edit
vasan
Posted by vasan to vasan's deck (2024-11-04 05:54)