Skip to content

Commit bf3de2d

Browse files
author
Jill Grant
authored
Merge pull request #288581 from PatAltimore/patricka-sfi2
Remove image text
2 parents 37bf281 + 72996f6 commit bf3de2d

File tree

9 files changed

+0
-7
lines changed

9 files changed

+0
-7
lines changed
3.97 KB
Loading
Binary file not shown.
-343 Bytes
Loading
-20.5 KB
Loading
-4.8 KB
Loading
Binary file not shown.

articles/iot-edge/tutorial-develop-for-linux-on-windows.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,6 @@ Typically, you'll want to test and debug each module before running it within an
326326
> [!WARNING]
327327
> Make sure the last line of the template _ENTRYPOINT ["dotnet", "IotEdgeModule1.dll"]_ the name of the DLL matches the name of your IoT Edge module project.
328328
329-
![Screenshot of setting the Dockerfile template](./media/tutorial-develop-for-linux-on-windows/visual-studio-solution.png)
330-
331329
1. To establish an SSH connection with the Linux module, we need to create an RSA key. Open an elevated PowerShell session and run the following commands to create a new RSA key. Make sure you save the RSA key under the same IoT Edge module folder, and the name of the key is _id\_rsa_.
332330
333331
```cmd
@@ -530,13 +528,8 @@ az iot edge set-modules --hub-name my-iot-hub --device-id my-device --content ./
530528
| **Private Key File** | Full path to the id_rsa that created in a previous step |
531529
| **Passphrase** | Passphrase used for the key created in a previous step |
532530

533-
534-
![Screenshot of how to connect to a remote system](./media/tutorial-develop-for-linux-on-windows/connect-remote-system.png)
535-
536531
1. After successfully connecting to the module using SSH, then you can choose the process and select Attach. For the C# module you need to choose process dotnet and **Attach to** to Managed (CoreCLR). It may take 10 to 20 seconds the first time.
537532

538-
[ ![Screenshot of how to attach an edge module process.](./media/tutorial-develop-for-linux-on-windows/attach-process.png) ](./media/tutorial-develop-for-linux-on-windows/attach-process.png#lightbox)
539-
540533
1. Set a breakpoint to inspect the module.
541534

542535
* If developing in C#, set a breakpoint in the `PipeMessage()` function in **ModuleBackgroundService.cs**.

0 commit comments

Comments
 (0)