Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VS Code debug configuration for Docker Compose + Django #188

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d9199ec
Try to get VS Code debugging working with Docker
epicserve Mar 25, 2023
8f1bb43
Create a VS Code Launch Configuration to attach to Django's runserver…
epicserve Mar 28, 2023
5aaeeef
Update Debuggy to run from manage.py
epicserve Mar 31, 2023
60aa072
Install debuggy
epicserve Mar 31, 2023
b88aff2
Change justMyCode setting to false for the debug configuration
epicserve Mar 31, 2023
4908b5f
Add VS Code test configuration
epicserve Mar 31, 2023
33f7d34
Add a Dev Container configuration
epicserve Mar 31, 2023
3c5e6fc
Add VS Code instructions to the README
epicserve Mar 31, 2023
8466610
Ignore the security check because debugpy it only runs in development
epicserve Apr 1, 2023
7c3a737
Add black and isort auto-formatting on save
epicserve Apr 1, 2023
e66bf1c
Add Copilot and docker extensions
epicserve Apr 1, 2023
892a003
Remove the docker extension because it isn't needed inside the container
epicserve Apr 2, 2023
2d1d7a3
No need to override the volume that is in the main docker compose file
epicserve Apr 2, 2023
203c1bf
Make git so it works in a dev container
epicserve Apr 3, 2023
9c858b1
Add links to docs for Microsoft Dev Containers
epicserve Apr 3, 2023
8454fa1
Switch the first stage to 3-bullseye
epicserve Apr 3, 2023
107dde9
Upgrade core dependencies in one step
epicserve Apr 3, 2023
b0fce31
Only install Git if it's the dev environment
epicserve Apr 3, 2023
d28a936
Set bash as the default terminal
epicserve Apr 3, 2023
57f741b
Fix Git not installing
epicserve Apr 4, 2023
de3c3f1
Clean up if statement
epicserve Apr 4, 2023
4a0b136
Make some updates to the readme for VS Code
epicserve Apr 16, 2023
402d2df
Update debugpy logic to not interfere with the PyCharm debugger
epicserve Apr 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add VS Code test configuration
  • Loading branch information
epicserve committed Apr 15, 2023
commit 4908b5fad65d41d7be86992c340a0d316f60b174
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.testing.pytestArgs": [
"."
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}