Skip to content

Instantly share code, notes, and snippets.

View WGrape's full-sized avatar
🖥️
24 hours online

WGrape

🖥️
24 hours online
View GitHub Profile
@WGrape
WGrape / Docker with XDebug.md
Created June 28, 2023 08:21 — forked from megahirt/Docker with XDebug.md
Debugging PHP with XDebug v3 inside Docker using VSCode

Debugging PHP with XDebug v3 inside Docker using VSCode

Assumptions / Prerequisites

  • XDebug v3+ inside Docker (e.g. php:7.3-apache Docker image)
  • Running Docker v20.10+
  • VSCode with PHP Debug Extension (Felix Becker)
  • Using Docker Compose for orchestration

Objective