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

Enable version control management in VS Code #33

Closed
MBARIMike opened this issue Aug 11, 2021 · 2 comments
Closed

Enable version control management in VS Code #33

MBARIMike opened this issue Aug 11, 2021 · 2 comments

Comments

@MBARIMike
Copy link
Contributor

The smdb/ directory is currently mounted in the django container as /app. The .git folder is in the parent directory not giving VS Code visibility into the Git repo. Change how debug.yml and devcontainer.json works to have VS Code use the parent directory.

@MBARIMike
Copy link
Contributor Author

Source Control from VS Code works now on my machine! The debug.yml needs to be edited on your machine to so that your ~/.ssh folder is available in the development container.

@MBARIMike
Copy link
Contributor Author

Well, Source Control now works from VS Code, but the changes appear to have broken Testing in VS Code. It's likely a recognized bug in VS Code. On balance it's better to have Source Control as testing can still happen at the command line and in CI. Hoping for a bug fix soon for microsoft/vscode-python#16936.

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

No branches or pull requests

1 participant