Skip to content

feat: add VSCode debugger support #180 - #188

Merged
abosio merged 3 commits into
mainfrom
abosio/180/vscode-debugger-support
Jul 7, 2026
Merged

feat: add VSCode debugger support #180#188
abosio merged 3 commits into
mainfrom
abosio/180/vscode-debugger-support

Conversation

@abosio

@abosio abosio commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Enables interactive VSCode debugging of the containerized Django app, alongside the existing PyCharm option, over debugpy. Debugging remains off by default and is opt-in per IDE.

  • forward the debug port into the pod for local dev
  • ship a ready-to-use editor attach configuration
  • keep that config tracked in generated projects
  • document the per-IDE workflow and its trade-offs

Fixes #180

Enables interactive VSCode debugging of the containerized
Django app, alongside the existing PyCharm option, over
debugpy. Debugging remains off by default and is opt-in
per IDE.

- forward the debug port into the pod for local dev
- ship a ready-to-use editor attach configuration
- keep that config tracked in generated projects
- document the per-IDE workflow and its trade-offs
Debugger settings previously lived in the shared base
config, which sandbox and prod inherit — an enabled
breakpoint accidentally committed there could reach
production. Moving them to the local-only overlay
removes that risk while keeping the same opt-in toggle.
@abosio
abosio force-pushed the abosio/180/vscode-debugger-support branch from 106c46e to 319e9d6 Compare July 7, 2026 01:01
@abosio
abosio marked this pull request as ready for review July 7, 2026 01:02
The dev-only debug server must bind all interfaces so the
port-forward can reach the pod; scope the security check
suppression to that line with a rationale.

@rochecompaan rochecompaan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! 🎉

@abosio
abosio merged commit d831fef into main Jul 7, 2026
2 checks passed
@abosio
abosio deleted the abosio/180/vscode-debugger-support branch July 7, 2026 13:13
getscaf-release-bot Bot pushed a commit that referenced this pull request Jul 7, 2026
## [1.15.0](v1.14.1...v1.15.0) (2026-07-07)

### Features

* add VSCode debugger support [#180](#180) ([#188](#188)) ([d831fef](d831fef))
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.

Add support for debugger in VSCode

2 participants