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 | |
---|---|---|---|---|
About the Xdebug + PhpStorm category | 3 | 886 | April 6, 2021 | |
M1 Mac loading X86 libraries - local lightning (opcache, xdebug, imagick) | 12 | 176 | March 28, 2024 | |
Can I Use Lightning-Services Outside Open Site Shell? | 1 | 403 | April 26, 2021 | |
Can I use XDebug with PHPUnit on PHPStorm using local? | 1 | 254 | December 8, 2023 | |
Lightning - Open Site Shell not working | 7 | 3349 | August 25, 2020 |