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.
What needs to happen to expose the Xdebug debugger to VS Code?
Will probably need to add the port to the docker-compose files:
Also modify any package.json scripts to use
--service-portslike this:The PHP Debug extension from xdebug.org has additional instructions.