-
Notifications
You must be signed in to change notification settings - Fork 349
Open
Description
When I use XDebug in Playground CLI with PHPStorm, my project directory may be anything from an empty dir to a full WordPress installation. If I mount pwd
at /wordpress
, PHPStorm can see most PHP files (maybe except for /internal) and I can set inspect code, set breakpoints, and step through those files in the code editor. However, if I don't mount anything, XDebug connects to Playground but then asks me to set up a path mapping. Currently, there's no way to do it – I don't have any files in my project directory. I notice I'm thinking "oh, I don't know how to use that".
Let's find a sensible way forward that would empower the user to debug their plugin, theme, entire WordPress site, whatever they have.