You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/v1/how-to-debug-visual-studio-code.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,7 +369,7 @@ Local web service deployments require a working Docker installation on your loca
369
369
370
370
1. To configure VS Code to communicate with the Docker image, create a new debug configuration:
371
371
372
-
1. From VS Code, select the __Debug__ menu in the __Run__ extentionand then select __Open configurations__. A file named __launch.json__ opens.
372
+
1. From VS Code, select the __Debug__ menu in the __Run__ extensionand then select __Open configurations__. A file named __launch.json__ opens.
373
373
374
374
1. In the __launch.json__ file, find the __"configurations"__ item (the line that contains `"configurations": [`), and insert the following text after it.
375
375
@@ -509,7 +509,7 @@ Local web service deployments require a working Docker installation on your loca
509
509
510
510
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
511
511
512
-
2. For a better experience, you can go into the container with a new VS Code interface. Select the `Docker`extentionfrom 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`extensionfrom 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.
513
513
514
514

515
515
@@ -522,7 +522,7 @@ Local web service deployments require a working Docker installation on your loca
522
522
523
523

524
524
525
-
4. To attach VS Code to debugpy inside the container, openVS 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, openVS 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.
526
526
527
527

0 commit comments