Skip to content

Container Tools debugging #4476

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/containers/edit-and-refresh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Visual Studio provides a consistent way to develop in a Docker container and val

This article illustrates how to use Visual Studio to start an ASP.NET Core web app in a local Docker container, make changes, and then refresh the browser to see the changes. This article also shows you how to set breakpoints for debugging for containerized ASP.NET Core web apps and .NET Framework console apps.

If you already have a project, Visual Studio can create a Dockerfile and configure your project to generate a container. See [Container Tools in Visual Studio](overview.md).

## Prerequisites

To debug apps in a local Docker container, the following tools must be installed:
Expand All @@ -38,6 +40,8 @@ Docker containers are available for .NET Framework and .NET Core projects. Let's

## Create a web app

If you have a project and you've added Docker support as described in the [overview](overview.md), skip this section.

::: moniker range="vs-2017"
[!INCLUDE [create-aspnet5-app](../azure/includes/create-aspnet5-app.md)]
::: moniker-end
Expand Down Expand Up @@ -119,6 +123,10 @@ If you manually modified your container and want to restart with a clean contain

Learn how to [troubleshoot Visual Studio Docker development](troubleshooting-docker-errors.md).

## Next steps

Get more details by reading [How Visual Studio builds containerized apps](container-build.md).

## More about Docker with Visual Studio, Windows, and Azure

* Learn more about [container development with Visual Studio](/visualstudio/containers).
Expand Down