Hello,
I have been developing WP shortcode plugins using VS Code (with Xdebug+VSCode add-on) and everything was working fine until the end of October. Today I came back to work more on the same plugins and I can no longer debug in VS Code. The only thing that changed in the meantime is Local update.
I read some of the previous conversations in the forum, and tried deleting .vscode folder in the site’s app/public folder, regenerated it and restarted Local but it still doesn’t work. I noticed that the newly generated launch.jason as “Listen for Xdebug 3.0” and “Listen for Xdebug” but neither of them works. When I run php -v from the site shell (launched from Local), it says “with Xdebug v2.9.0, …”. It also says “Unable to load dynamic library 'php_imagick.dll” even though I have no idea if that has anything to do with it.
I am using Local v6.5.2+6204, Xdebug+VSC v1.0.7, PHP 7.4.30, VSC v1.73.1, PHP Debug v1.29.0, all running on Win 10 Home. Before Local 6.5 update, I think PHP version was different, even though I cannot remember what it exactly was. Does that have anything to do with it?
I am very new to WP+Local+PHP+Xdebug so I have little experience. Today I have spent hours reading Xdebug’s documentations but so far things look like what they say they should be. Could this be a Xdebug+VSC add-on issue?
I’d really appreciate any help, information you could give me. I am dead in the water without debugger and am really desperate with work I need to get done.
Thank you,