Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start the debugger in single module mode with version 1.4 #416

Open
sparraguerra opened this issue Mar 1, 2024 · 1 comment
Open

Comments

@sparraguerra
Copy link

Hi,
I'm trying to run debugging in Visual Studio 2022 so I can debug a single module and I'm getting the message "ERROR: -edge-runtime-version '1.4' is not valid."
Looking at the iotedgehubdev code, I saw the following lines.

if re.match(r'^(1\.0)|(1\.1)|(1\.2)', edge_runtime_version) is None:

  if edge_runtime_version is not None:
                # The only validated versions are 1.0, 1.1, and 1.2 variants, hence the current limitation
                if re.match(r'^(1\.0)|(1\.1)|(1\.2)', edge_runtime_version) is None:
                    raise ValueError('-edge-runtime-version `{0}` is not valid.'.format(edge_runtime_version))

Would it be possible to add version 1.4? If this were not possible, what would be the cause?

@marianan
Copy link
Collaborator

marianan commented Mar 1, 2024

@sparraguerra thanks for flagging this. At this time iotedgehubdev is in maintenance mode, please refer to #396 for more information. For debugging support, please see https://learn.microsoft.com/en-us/azure/iot-edge/debug-module-vs-code?view=iotedge-1.4&tabs=c&pivots=iotedge-dev-cli#debug-a-module-with-the-iot-edge-runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants