<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh" -->

---
title: The Visual Studio Debugger Agentic Workflow Gets a...
description: Visual Studio's Debugger Agent gains a new Test-Driven Investigation workflow that creates or identifies a failing test to reproduce hard-to-repro bugs, then...
canonical: https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Visual Studio Debugger Agentic Workflow Gets a Test-Driven Upgrade | daily.dev
og:description: Visual Studio's Debugger Agent gains a new Test-Driven Investigation workflow that creates or identifies a failing test to reproduce hard-to-repro bugs, then...
og:url: https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh
og:image: https://api.daily.dev/og/posts/Wr8lCrvrh.png
og:image:alt: The Visual Studio Debugger Agentic Workflow Gets a Test-Driven Upgrade
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Visual Studio Debugger Agentic Workflow Gets a Test-Driven Upgrade

**[Visual Studio Blog](https://daily.dev/sources/vs)** · 4 min read · 1 upvotes · 0 comments

## Summary

Visual Studio's Debugger Agent gains a new Test-Driven Investigation workflow that creates or identifies a failing test to reproduce hard-to-repro bugs, then debugs through that test using breakpoints and runtime inspection to find the root cause. After a fix is approved, the agent reruns the test to validate the resolution and can run related tests to check for regressions. This complements the existing Live Debugging path, which the agent now recommends automatically based on whether reliable manual repro steps exist and test infrastructure is available. Developers stay in control, reviewing the generated test and approving changes throughout.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devblogs.microsoft.com/visualstudio/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade>

## Questions this post answers

### What is Test-Driven Investigation in the Visual Studio Debugger Agent?

It is a new workflow where the Debugger Agent creates or identifies a focused test that reproduces a bug, debugs through that test using breakpoints and runtime inspection to find the root cause, then reruns the test to confirm the fix works and check for regressions. It targets bugs that are hard to reproduce manually, such as intermittent failures or reported exceptions, and requires existing test infrastructure in the project.

_daily.dev keeps developers tracking new Visual Studio Copilot debugging features like this one._

### How does the Visual Studio Debugger Agent decide between live debugging and test-driven investigation?

When reliable reproduction steps exist, it can use live debugging, launching the app and inspecting runtime state interactively. If no dependable manual repro can be established but supported test infrastructure is present, it automatically switches to Test-Driven Investigation, generating or identifying a test to drive the debugging session instead.

_Developers weighing debugging approaches can follow updates like this on daily.dev._

## Similar posts on daily.dev

- [Stop Hunting Bugs: Meet the New Visual Studio Debugger Agent](https://daily.dev/posts/stop-hunting-bugs-meet-the-new-visual-studio-debugger-agent-mldmdbzqm) · Visual Studio Blog · 1 upvotes · 0 comments
- [Visual Studio 2026: Debugging with Copilot](https://daily.dev/posts/visual-studio-2026-debugging-with-copilot-hpfbx103k) · DevBlogs · 0 upvotes · 0 comments
- [How I Used a QA Agent Workflow to Reduce Manual Testing Pressure](https://daily.dev/posts/how-i-used-a-qa-agent-workflow-to-reduce-manual-testing-pressure-zb87qdkyb) · Medium · 0 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#ai-agents](https://daily.dev/tags/ai-agents), [#visual-studio](https://daily.dev/tags/visual-studio), [#tdd](https://daily.dev/tags/tdd)

[View this post on daily.dev](https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Visual Studio Debugger Agentic Workflow Gets a Test-Driven Upgrade","url":"https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh"},"datePublished":"2026-08-26T16:06:56.618Z","dateModified":"2026-09-14T07:44:26.865Z","description":"Visual Studio's Debugger Agent gains a new Test-Driven Investigation workflow that creates or identifies a failing test to reproduce hard-to-repro bugs, then...","image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","thumbnailUrl":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","isAccessibleForFree":true,"articleSection":"Visual Studio Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Visual Studio Blog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/03971923d4044f74ac177dc752e1e752","url":"https://daily.dev/sources/vs"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,ai-agents,visual-studio,tdd","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Visual Studio Blog","item":"https://daily.dev/sources/vs"},{"@type":"ListItem","position":3,"name":"The Visual Studio Debugger Agentic Workflow Gets a Test-Driven Upgrade"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade-wr8lcrvrh#faq","mainEntity":[{"@type":"Question","name":"What is Test-Driven Investigation in the Visual Studio Debugger Agent?","acceptedAnswer":{"@type":"Answer","text":"It is a new workflow where the Debugger Agent creates or identifies a focused test that reproduces a bug, debugs through that test using breakpoints and runtime inspection to find the root cause, then reruns the test to confirm the fix works and check for regressions. It targets bugs that are hard to reproduce manually, such as intermittent failures or reported exceptions, and requires existing test infrastructure in the project. daily.dev keeps developers tracking new Visual Studio Copilot debugging features like this one."}},{"@type":"Question","name":"How does the Visual Studio Debugger Agent decide between live debugging and test-driven investigation?","acceptedAnswer":{"@type":"Answer","text":"When reliable reproduction steps exist, it can use live debugging, launching the app and inspecting runtime state interactively. If no dependable manual repro can be established but supported test infrastructure is present, it automatically switches to Test-Driven Investigation, generating or identifying a test to drive the debugging session instead. Developers weighing debugging approaches can follow updates like this on daily.dev."}}]}
```

