Skip to content

Conversation

@bf-2026
Copy link
Contributor

@bf-2026 bf-2026 commented Dec 24, 2025

Purpose

When running "debug and run" in VSCode Windows I get following error:

image

On Windows, the Python executable inside a virtual environment is located in the Scripts folder, not the bin folder (which is used for macOS and Linux).

Does this introduce a breaking change?

When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.

[ ] Yes
[x ] No

Does this require changes to learn.microsoft.com docs?

This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.

[ ] Yes
[x ] No

Type of change

[x ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist

See CONTRIBUTING.md for more details.

  • [x ] The current tests all pass (python -m pytest).
  • I added tests that prove my fix is effective or that my feature works
  • I ran python -m pytest --cov to verify 100% coverage of added lines
  • I ran python -m mypy to check for type errors
  • I either used the pre-commit hooks or ran ruff and black manually on my code.

@pamelafox
Copy link
Collaborator

Thank you, this change still works on my Mac, and I trust that you verified it on Windows.

@pamelafox pamelafox changed the title fix vscode debug and run Fix vscode debug launch configuration for Windows Jan 9, 2026
@pamelafox pamelafox changed the title Fix vscode debug launch configuration for Windows Fix VS Code debug launch configuration for Windows Jan 9, 2026
@pamelafox pamelafox merged commit 2ba3f23 into Azure-Samples:main Jan 9, 2026
21 checks passed
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.

3 participants