Proof of concept path-mapping free setup
Start the container providing the required user and local project directory information:
make build
In your IDE, start listening for XDebug connections on port 9003
.
Do not set up any path mappings.
Add a breakpoint at line 5
of the src/source-1.php
file.
- Ensure there are no path mappings set up in your IDE.
- Visit
http://localhost:8923/?redirect_files=1
- You should not get a prompt to set up path mappings, XDebug should just work.
- Ensure there are no path mappings set up in your IDE.
- Visit
http://localhost:8923
- You should get a prompt to set up path mappings; once that is done, XDebug should work.