microsoft / microsoft/aspire

Support for Mutiple Envrioment Debugging

Open
#13,490 0 comments 0 reactions 0 assignees View on GitHub
area-app-model
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

As an senior developer or architects sometime we are required to debug the applications on higher environments.

For example.
We have a complex app that used NAT JETStream, Redis, database, and Dapr.

Some time we need to connect to qa/prod enviroment dapr placement to receive events and reproduce as those are not produced on dev machine, of course can mock but that does not help much.

So the apps run locally and we are connected to Infra on higher envrionment.

### Describe the solution you'd like

We have achived this by simply passing and env file per environment with registration of selected resource per environment as not all apps are required to be run locally.

On top of it we create a script file that fires aspire project with like run-project.ps1 -env qa

Do you think something like this makes sense for Aspire to accomodate as whole objective of Aspire is to makes multiproject development a Breeze.

Love Aspire! @davidfowl thoughts?

And BTW, is there a way to read logs of each app as AI agents love access to logs, is there an API to read application logs?

Sen

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.