Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#416 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
cli, devtools

調査の方向性

iotedgehubdev/cli.py の 270 行目付近にある edge_runtime_version の検証から始め、Visual Studio 2022 で単一モジュールのデバッグを開始するときにバージョンがどのように使用されるかを追跡してください。バージョン 1.4 が受け入れられない原因を確認し、1.4 でデバッガーが正常に起動するよう、サポート対象バージョンの動作を更新してください。

索引モデルが issue の本文から書いたものです。

説明

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.

https://github.com/Azure/iotedgehubdev/blob/7eede7286a0603e565c8b183d090f2585521aae6/iotedgehubdev/cli.py#L270

  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?

主要言語
Python
スター
91
フォーク
38
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/iotedgehubdev のほかの issue

Azure/iotedgehubdev の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。