Skip to content

Commit 4fafa46

Browse files
Merge pull request #427 from changeworld/patch-3
Fix typo: extention -> extension
2 parents 1ebea70 + e680b83 commit 4fafa46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/machine-learning/v1/how-to-debug-visual-studio-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Local web service deployments require a working Docker installation on your loca
369369
370370
1. To configure VS Code to communicate with the Docker image, create a new debug configuration:
371371
372-
1. From VS Code, select the __Debug__ menu in the __Run__ extention and then select __Open configurations__. A file named __launch.json__ opens.
372+
1. From VS Code, select the __Debug__ menu in the __Run__ extension and then select __Open configurations__. A file named __launch.json__ opens.
373373
374374
1. In the __launch.json__ file, find the __"configurations"__ item (the line that contains `"configurations": [`), and insert the following text after it.
375375
@@ -509,7 +509,7 @@ Local web service deployments require a working Docker installation on your loca
509509
510510
This command attaches your `score.py` locally to the one in the container. Therefore, any changes made in the editor are automatically reflected in the container
511511
512-
2. For a better experience, you can go into the container with a new VS Code interface. Select the `Docker` extention from the VS Code side bar, find your local container created, in this documentation its `debug:1`. Right-click this container and select `"Attach Visual Studio Code"`, then a new VS Code interface will be opened automatically, and this interface shows the inside of your created container.
512+
2. For a better experience, you can go into the container with a new VS Code interface. Select the `Docker` extension from the VS Code side bar, find your local container created, in this documentation its `debug:1`. Right-click this container and select `"Attach Visual Studio Code"`, then a new VS Code interface will be opened automatically, and this interface shows the inside of your created container.
513513
514514
![The container VS Code interface](../media/how-to-troubleshoot-deployment/container-interface.png)
515515
@@ -522,7 +522,7 @@ Local web service deployments require a working Docker installation on your loca
522522
523523
![The container run console output](../media/how-to-troubleshoot-deployment/container-run.png)
524524
525-
4. To attach VS Code to debugpy inside the container, open VS Code, and use the F5 key or select __Debug__. When prompted, select the __Azure Machine Learning Deployment: Docker Debug__ configuration. You can also select the __Run__ extention icon from the side bar, the __Azure Machine Learning Deployment: Docker Debug__ entry from the Debug dropdown menu, and then use the green arrow to attach the debugger.
525+
4. To attach VS Code to debugpy inside the container, open VS Code, and use the F5 key or select __Debug__. When prompted, select the __Azure Machine Learning Deployment: Docker Debug__ configuration. You can also select the __Run__ extension icon from the side bar, the __Azure Machine Learning Deployment: Docker Debug__ entry from the Debug dropdown menu, and then use the green arrow to attach the debugger.
526526
527527
![The debug icon, start debugging button, and configuration selector](../media/how-to-troubleshoot-deployment/start-debugging.png)
528528

0 commit comments

Comments
 (0)