Skip to content

Commit 3fd4bda

Browse files
authored
Merge pull request #107311 from zr-msft/ds-vs-qs-debug-step
[Dev Spaces] added steps for running service with Visual Studio
2 parents 50cb3e5 + cd511c2 commit 3fd4bda

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/dev-spaces/quickstart-netcore-visualstudio.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ Service 'webfrontend' port 80 (http) is available at http://localhost:62266
8888
Completed warmup for project 'webfrontend' in 125 seconds.
8989
```
9090

91-
In the above example, the public URL is http://default.webfrontend.1234567890abcdef1234.eus.azds.io/. Navigate to your service's public URL and interact with the service running in your dev space.
91+
In the above example, the public URL is http://default.webfrontend.1234567890abcdef1234.eus.azds.io/.
92+
93+
Select **Debug** then **Start Debugging**. After a few seconds, your service will start and Visual Studio will open a browser with the public URL of the service. If a browser does not automatically open, navigate to your service's public URL in a browser and interact with the service running in your dev space.
9294

9395
This process may have disabled public access to your service. To enable public access, you can update the [ingress value in the *values.yaml*][ingress-update].
9496

@@ -100,7 +102,7 @@ If Visual Studio is still connected to your dev space, click the stop button. Ch
100102
ViewData["Message"] = "Your application description page in Azure.";
101103
```
102104

103-
Save your changes and start your service using **Azure Dev Spaces** from the launch settings dropdown. Open the public URL of your service in a browser and click *About*. Observe that your updated message appears.
105+
Save your changes and select **Debug** then **Start Debugging**. After a few seconds, your service will start and Visual Studio will open a browser with the public URL of the service. If a browser does not automatically open, navigate the public URL of your service in a browser and click *About*. Observe that your updated message appears.
104106

105107
Instead of rebuilding and redeploying a new container image each time code edits are made, Azure Dev Spaces incrementally recompiles code within the existing container to provide a faster edit/debug loop.
106108

0 commit comments

Comments
 (0)