Azure / Azure/iotedgehubdev

VS Code extension not able to Build and Run on Simulator

Open
#389 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
91
Forks
38
Avg merge
6m
Merged PRs (30d)
1

Description

Fresh install of vscode on a fresh install of Linux Mint, following the example at https://docs.microsoft.com/en-us/azure/iot-edge/how-to-vs-code-develop-module?view=iotedge-2020-11 , which was updated in April 2022.
Created the IoT solution, added extensions, including Azure IoT Edge as part of Azure IoT Tools, but was never able to use 'Build and Run IoT Edge Solution on Simulator' on the right click on the debug template.
A popup comes up to request a choice of device, where I click 'Setup' rather than 'Cancel'.
I choose the device and then see in the terminal
`sudo "iotedgehubdev" setup -c "" -i ""`
followed by a success
and it stops there

As a result, instead I have to build the Iot Solution with the contextual menu on the debug template
I do the setup with contextual menu 'Setup Iot Edge Simulator' in AZURE IOT HUB panel for the device I choose for simulator setup
then run a manual command after the one created by the above
`sudo iotedgehubdev start -d -v`
that gives what the howto instructions hints at.
When done, Ctrl+C
then stop simulator manually with
`sudo iotedgehubdev stop`

attaching to the running container works.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.