Skip to content

Add xdebug support to Docker#55

Merged
kirkaracha merged 2 commits intomainfrom
support-xdebug-in-docker
Jun 29, 2025
Merged

Add xdebug support to Docker#55
kirkaracha merged 2 commits intomainfrom
support-xdebug-in-docker

Conversation

@wrose504
Copy link
Collaborator

It is helpful to be able to set breakpoints in the backend code while running the backend in Docker.

This PR updates the Docker build to include xdebug and adds information for developers wishing to use xdebug with VS Code.

@wrose504 wrose504 requested a review from kirkaracha June 25, 2025 06:45
@wrose504 wrose504 self-assigned this Jun 25, 2025
@kirkaracha kirkaracha merged commit b81c48e into main Jun 29, 2025
1 check passed
wrose504 added a commit that referenced this pull request Jun 30, 2025
**Take 2** I posted this as #51 but I had set it up to compare with branch for
#55, rather than `main`, so then when it merged, it went to the branch for #55,
but _after_ that branch had already been merged to `main`. 😩 

Editing posts in the admin site was not straightforward as the resource was not
set up to transfer all the necessary fields, and also the unique constraint on
`slug` would prevent revisions of a post from being saved, due to the way we
maintain prior versions in the same table.

Editing snippets was also not supported as we needed to implement a form.

## Screenshots

**Snippet editing**
https://github.com/user-attachments/assets/f1a52d65-3547-4c2b-a62a-1032fee5ad3d

**Post editing**
https://github.com/user-attachments/assets/f8b0ab58-26c7-4f91-ac5c-fd7e2d580664
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants