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

Debug locally with azd env file #340

Merged
merged 5 commits into from
Mar 1, 2024
Merged

Debug locally with azd env file #340

merged 5 commits into from
Mar 1, 2024

Conversation

ross-p-smith
Copy link
Collaborator

@ross-p-smith ross-p-smith commented Feb 27, 2024

Purpose

The aim of the accelerator is that you should be able to azd provision and then use the "Launch" options in vscode to easily debug locally. This PR aims to do that by calling an azd command to get the location the current dotenv file based on the environment. It then uses that in the launch configs.

I have also removed some of the old information about building this in docker.

Closes #69

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

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

How to Test

  • azd provision
  • "Launch admin site" from the "Run and Debug" icon in vscode.

@ross-p-smith ross-p-smith self-assigned this Feb 29, 2024
Copy link
Collaborator

@superhindupur superhindupur left a comment

Choose a reason for hiding this comment

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

Tested azd provision and launched the admin site locally.

@ross-p-smith ross-p-smith added this pull request to the merge queue Mar 1, 2024
Merged via the queue into main with commit 8fa20a8 Mar 1, 2024
3 checks passed
@ross-p-smith ross-p-smith deleted the ross/dev-experience branch March 1, 2024 17:05
eduardogch pushed a commit to devopsdale/chat-with-your-data-solution-accelerator that referenced this pull request Apr 30, 2024
* Debug locally with azd env file

* typo
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.

Improve developer experience
2 participants