Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Xdebug modes #8

Open
iandunn opened this issue Aug 18, 2021 · 0 comments
Open

Configure Xdebug modes #8

iandunn opened this issue Aug 18, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@iandunn
Copy link
Member

iandunn commented Aug 18, 2021

It'd be nice to have Xdebug's develop mode on by default, for readable var_dump()s.

The other modes might be useful as alternate start scripts, like:

"env": "wp-env start --xdebug=develop",
"env:debug": "wp-env start --xdebug=debug,develop",
"env:profile": "wp-env start --xdebug=profile",

That didn't work for me at first glance, but I haven't dug into it.

xref https://github.com/WordPress/gutenberg/tree/trunk/packages/env#using-xdebug

@iandunn iandunn added the enhancement New feature or request label Aug 18, 2021
@iandunn iandunn added this to the 1st repo milestone Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant