Question: Could not load source 'Fastfile': not found, while debugging a Fastlane lane from VSCODE
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ruby, vscode
調査の方向性
Reproduce the issue in the linked debug-fastlane example using the terminal command and the rdbg --open=vscode command, after running bundle install. Compare how each mode resolves the Fastfile source, then verify that the VS Code session can open and debug custom_lane as the terminal session does.
索引モデルが issue の本文から書いたものです。
説明
Your environment
ruby -v:ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin23]rdbg -v:rdbg 1.9.1
Describe the bug
I'm not an expert here (so I'm probably missing something) but I was recently trying to debug a custom Fastlane lane with rdbg using vscode with the following terminal command:
rdbg --open=vscode -c -- bundle exec fastlane custom_lane
But it seems that the editor cannot load the source file: the Fastfile (see attached screenshot). I would guess that some context information are not correctly passed to the editor (am I missing some parameters?).
If I debug from the terminal, using the following command:
rdbg -c -- bundle exec fastlane custom_lane
Everything seems to work correctly (see attached screenshot).
I prepared an example repo to easily reproduce the issue.
Thanks in advance for your support, and sorry if it's a stupid question 😅
To Reproduce
- Checkout the example repo
- Install the required gems with
bundle install - Debug from terminal with:
rdbg -c -- bundle exec fastlane custom_lane - Debug from
vscodewith:rdbg --open=vscode -c -- bundle exec fastlane custom_lane
Expected behavior
I would expect to debug the custom_lane similarly from both terminal and vscode.
- 主要言語
- Ruby
- スター
- 1.3k
- フォーク
- 146
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ruby/debug のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
バグ
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
voxpupuli/puppet-epel#186 · コメント 1 件 ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) オープンBug Frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100