With Local 3.x I had to be on the virtual machine’s shell to have WP-CLI commands trigger Xdebug breakpoints. I could not issue the commands from my Mac and have the breakpoints tripped. However, with Local Lightning there is no more Docker virtual machine, as the processes are just run directly on macOS. This means that, as far as I can tell, I have no way of tripping Xdebug breakpoints when running WP-CLI commands. Since I’ve used a special set of custom WP-CLI commands for debugging that let me run arbitrary PHP, this is a bit annoying. Is there a way right now that I can configure my Local Lightning sites such that WP-CLI commands issued, now straight from my Mac’s shell as that is all we have, will trip Xdebug breakpoints, or is that coming in a later beta release?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
WP CLI Not Working for a Site | 5 | 1519 | September 20, 2020 | |
Local-bootstrap.php is triggering a breakpoint when XDebug is enabled | 7 | 4764 | February 26, 2021 | |
Can't use WP-CLI // zsh: command not found: wp | 4 | 2103 | September 21, 2023 | |
About the Xdebug + PhpStorm category | 3 | 992 | April 6, 2021 | |
WP-CLI not working on Lightning | 2 | 1160 | August 2, 2020 |