Skip to content

Enable debugging in VS Code #4

Description

@joemaller

What needs to happen to expose the Xdebug debugger to VS Code?

Will probably need to add the port to the docker-compose files:

    # Internally expose port 9003 for XDebug and profiling
    expose:
      - 9003

Also modify any package.json scripts to use --service-ports like this:

"scripts": {
    "test": "docker compose run --rm --service-ports test"
}

The PHP Debug extension from xdebug.org has additional instructions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions