Skip to content

Commit e691699

Browse files
authored
Merge pull request #77337 from andxu/andxu_azds_pr
Update line number for azure dev space quick start tutorial
2 parents 06e44a7 + 0349ad8 commit e691699

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/dev-spaces/quickstart-java.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ If you stop the `azds up` command using *Ctrl+c*, the service will continue to r
116116
To deploy an updated version of your service, you can update any file in your project and rerun the `azds up` command. For example:
117117

118118
1. If `azds up` is still running, press *Ctrl+c*.
119-
1. Update [line 16 in `src/main/java/com/ms/sample/webfrontend/Application.java`](https://github.com/Azure/dev-spaces/blob/master/samples/java/getting-started/webfrontend/src/main/java/com/ms/sample/webfrontend/Application.java#L16) to:
119+
1. Update [line 19 in `src/main/java/com/ms/sample/webfrontend/Application.java`](https://github.com/Azure/dev-spaces/blob/master/samples/java/getting-started/webfrontend/src/main/java/com/ms/sample/webfrontend/Application.java#L19) to:
120120

121121
```java
122122
return "Hello from webfrontend in Azure!";
@@ -172,17 +172,17 @@ Click *Debug* then *Stop Debugging* to stop the debugger.
172172
173173
Start your service in debugging mode using *Launch Java Program (AZDS)*.
174174
175-
Navigate back to the *Explorer* view by clicking *View* then *Explorer*. Open `src/main/java/com/ms/sample/webfrontend/Application.java` and click somewhere on line 16 to put your cursor there. To set a breakpoint hit *F9* or click *Debug* then *Toggle Breakpoint*.
175+
Navigate back to the *Explorer* view by clicking *View* then *Explorer*. Open `src/main/java/com/ms/sample/webfrontend/Application.java` and click somewhere on line 19 to put your cursor there. To set a breakpoint hit *F9* or click *Debug* then *Toggle Breakpoint*.
176176
177-
Open your service in a browser and notice no message is displayed. Return to Visual Studio Code and observe line 16 is highlighted. The breakpoint you set has paused the service at line 16. To resume the service, hit *F5* or click *Debug* then *Continue*. Return to your browser and notice the message is now displayed.
177+
Open your service in a browser and notice no message is displayed. Return to Visual Studio Code and observe line 19 is highlighted. The breakpoint you set has paused the service at line 19. To resume the service, hit *F5* or click *Debug* then *Continue*. Return to your browser and notice the message is now displayed.
178178
179179
While running your service in Kubernetes with a debugger attached, you have full access to debug information such as the call stack, local variables, and exception information.
180180
181-
Remove the breakpoint by putting your cursor on line 16 in `src/main/java/com/ms/sample/webfrontend/Application.java` and hitting *F9*.
181+
Remove the breakpoint by putting your cursor on line 19 in `src/main/java/com/ms/sample/webfrontend/Application.java` and hitting *F9*.
182182
183183
## Update code from Visual Studio Code
184184
185-
While the service is running in debugging mode, update line 16 in `src/main/java/com/ms/sample/webfrontend/Application.java`. For example:
185+
While the service is running in debugging mode, update line 19 in `src/main/java/com/ms/sample/webfrontend/Application.java`. For example:
186186
```java
187187
return "Hello from webfrontend in Azure while debugging!";
188188
```

0 commit comments

Comments
 (0)