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/iot-edge/how-to-vs-code-develop-module.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
@@ -248,7 +248,7 @@ The IoT Edge extension defaults to the latest stable version of the IoT Edge run
248
248
1. In the command palette, enter and run the command **Azure IoT Edge: Set default IoT Edge runtime version**.
249
249
1. Choose the runtime version that your IoT Edge devices are running from the list.
250
250
251
-
After selecting a new runtime version, your deployment manifest is dynamically updated to reflect the change to the runtime module images.
251
+
After you select a new runtime version, your deployment manifest is dynamically updated to reflect the change to the runtime module images.
252
252
253
253
::: zone-end
254
254
@@ -516,7 +516,7 @@ On your development machine, you can start an IoT Edge simulator instead of inst
516
516
517
517
In each module folder, there are several Docker files for different container types. Use any of the files that end with the extension **.debug** to build your module for testing.
518
518
519
-
When debugging modules using this method, your modules are running on top of the IoT Edge runtime. The IoT Edge device and your Visual Studio Code can be on the same machine, or more typically, Visual Studio Code is on the development machine and the IoT Edge runtime and modules are running on another physical machine. In order to debug from Visual Studio Code, you must:
519
+
When you debug modules using this method, your modules are running on top of the IoT Edge runtime. The IoT Edge device and your Visual Studio Code can be on the same machine, or more typically, Visual Studio Code is on the development machine and the IoT Edge runtime and modules are running on another physical machine. In order to debug from Visual Studio Code, you must:
520
520
521
521
- Set up your IoT Edge device, build your IoT Edge modules with the **.debug** Dockerfile, and then deploy to the IoT Edge device.
522
522
- Update the `launch.json` so that Visual Studio Code can attach to the process in the container on the remote machine. This file is located in the `.vscode` folder in your workspace and updates each time you add a new module that supports debugging.
@@ -755,7 +755,7 @@ The Docker and Moby engines support SSH connections to containers allowing you t
755
755
> [!NOTE]
756
756
> The preceding example shows how to debug IoT Edge modules on remote containers. It added a remote Docker context and changes to the Docker privileges on the remote device. After you finish debugging your modules, set your Docker context to *default* and remove privileges from your user account.
757
757
758
-
See this [IoT Developer blog entry](https://devblogs.microsoft.com/iotdev/easily-build-and-debug-iot-edge-modules-on-your-remote-device-with-azure-iot-edge-for-vs-code-1-9-0/) for an another example using a Raspberry Pi device.
758
+
See this [IoT Developer blog entry](https://devblogs.microsoft.com/iotdev/easily-build-and-debug-iot-edge-modules-on-your-remote-device-with-azure-iot-edge-for-vs-code-1-9-0/) for an example using a Raspberry Pi device.
Copy file name to clipboardExpand all lines: articles/iot-edge/includes/debug-without-container-run.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: iot-edge
7
7
services: iot-edge
8
8
---
9
9
10
-
1.Click**Start Debugging** or press **F5** to start the debug session.
10
+
1.Select**Start Debugging** or press **F5** to start the debug session.
11
11
12
12
1. In the Visual Studio Code integrated terminal, run the following command to send a **Hello World** message to your module. This is the command shown in previous steps when you set up IoT Edge simulator.
Copy file name to clipboardExpand all lines: articles/iot-edge/includes/debug-without-container-setup.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ IoT Edge modules need an IoT Edge environment to run and debug. You can use an I
31
31
32
32
You can use the Docker Explorer view in Visual Studio Code to see the module's running status.
33
33
34
-
:::image type="content" source="media/simulator-status.png" alt-text="Screenshot showing simulator module status in the Docker Explorer pane of VS Code":::
34
+
:::image type="content" source="media/simulator-status.png" alt-text="Screenshot showing simulator module status in the Docker Explorer pane of VS Code.":::
35
35
36
36
The **edgeHubDev** container is the core of the local IoT Edge simulator. It can run on your development machine without the IoT Edge security daemon and provides environment settings for your native module app or module containers. The **input** container exposes REST APIs to help bridge messages to the target input channel on your module.
0 commit comments