You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
As you can see, the docker command uses env to pass XDEBUG_CONFIG to phpunit. It works. I can set a breakpoint in a test method, hit the codelens, and it stops on the breakpoint. But I would like to be able to define a separate "run configuration" for debugging tests, and there doesn't seem to be a way to do this.
I want to be able to:
debug my tests with Xdebug extension loaded and the right env vars passed,
run my tests normally with an alternate no-xdebug php.ini,
without having to edit the configuration every time I want to switch between the above two modes.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here are the relevant parts of my workspace configuration:
As you can see, the docker command uses
env
to pass XDEBUG_CONFIG to phpunit. It works. I can set a breakpoint in a test method, hit the codelens, and it stops on the breakpoint. But I would like to be able to define a separate "run configuration" for debugging tests, and there doesn't seem to be a way to do this.I want to be able to:
The text was updated successfully, but these errors were encountered: