You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add --detached to run Dev Proxy in the background #1511
Add the --detached option to run Dev Proxy in the background. This could help with agentic workflows to prevent agents from getting stuck on running Dev Proxy which is a long-running process. We'd need to consider how to expose logs. Checking status and closing Dev Proxy is already handled by the API.
If we were to follow existing approaches for handling detached processes, as an example, like like Docker CLI, we might want to consider adding supporting commands to make it easier to get information about the running background process. We have the API, but I think having lightweight wrapper commands that call the API would be useful.
Suggestions:
devproxy --detached # Start in background, print API URL + PID
devproxy status # Is it running? What port?
devproxy stop # Stop it
devproxy logs # Show logs (requires log file approach)
We should also consider updating our GitHub Actions to use this approach when implemented.
Activity
garrytrinder commentedon Jan 23, 2026
I like the idea 👍
If we were to follow existing approaches for handling detached processes, as an example, like like Docker CLI, we might want to consider adding supporting commands to make it easier to get information about the running background process. We have the API, but I think having lightweight wrapper commands that call the API would be useful.
Suggestions:
We should also consider updating our GitHub Actions to use this approach when implemented.
waldekmastykarz commentedon Jan 23, 2026
Great idea to align with what's already out there!
statusandstopcould basically be wrappers around the API.logsis the one that needs thinkingwaldekmastykarz commentedon Jan 27, 2026
Code is ready but waiting on #1508 to be merged so that we can align logging between interactive and detached mode
Adds detached support. Closes dotnet#1511
Adds detached support. Closes dotnet#1511
Adds detached support. Closes #1511 (#1533)