Skip to content

xDebug enabled and pre-configured in Developer mode #112

@joeshelton-wagento

Description

@joeshelton-wagento

xDebug is a critical feature of a development environment. But, it use is often intended only for the local development environment. Currently to enable xDebug in the Cloud Docker, a Cloud configuration file needs to be modified. (.magento.app.yaml) In the most common use-case for utilizing xDebux developers will want it enabled locally while developing or troubleshooting an issue, but do not intend for it to be enabled in the Cloud environment. This causes them to continually have to configure and "unconfigure" xDebug before and after committing code.

Preconditions

A development task that requires xDebug use locally.
No intention to have xDebug enabled in the Cloud environment.

Steps to reproduce

Configure local Cloud docker to use xDebug.
Use xDebug to solve an issue.
"Unconfigure" xDebug.
Commit code, create pull request.

Expected result

Developer should not have to configure and "unconfigure" xDebug per issue.

Actual result

Developer has to configure and "unconfigure" xDebug per issue. (In a large organization, developers will inevitably forget to do this occasionally, causing xDebug to be inadvertently enabled in the Cloud environment.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions