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

add composer alias to turn off xdebug for composer runs #3388

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BinaryKitten
Copy link

@BinaryKitten BinaryKitten commented May 16, 2023

Description

xdebug is set to be always on within the workspace, this means things like composer run slower when you've not got a listening ide open.

this update adds the composer alias so that xdebug is turned off for duration of composer commands.

Motivation and Context

after booting the workspace and ssh-ing into the workspace environment - ran composer install and due to not having an ide set to listen for connections - was presented with lots of repeated messages about could not connect to debugging client

Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9000 (through xdebug.client_host/xdebug.client_port).

Screenshot 2023-05-16 at 19 28 36

adding this alias and rebuilding - then running the same composer install
Screenshot 2023-05-16 at 19 30 21

Types of Changes

  • New feature (non-breaking change which adds functionality).

Definition of Done Checklist:

  • I've read the Contribution Guide.
  • I enjoyed my time contributing and making developer's life easier :)

xdebug is set to be always on within the workspace, this means things like composer run slower when you've not got a listening ide open.

this update adds the composer alias so that xdebug is turned off for duration of composer commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant