microsoft / microsoft/vscode-cpptools
Search the system path for `program` in `launch.json`
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 14時間 46分
- マージ済み PR(30日)
- 61
説明
Type: Feature Request
I currently have a launch.json set up for debugging a native Node.js addon on both Linux and OS X with gdb and llvm. Debugging a Node.js addon requires loading the main node executable which in turn dynamically loads the addon which is a shared library. So I have:
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/node",
which requires the full path to the program being debugged. Both gdb and llvm search the system path when invoking gdb node or llvm node, however the VSCode debugger does not invoke them as it checks that program exists.
Here is my full launch.json - https://github.com/mmomtchev/node-gdal-async/blob/master/.vscode/launch.json
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue に示されている launch.json 設定から始め、gdb または llvm を起動する前に cppdbg の起動フローが program の値をどのように検証するかを追跡します。node のようなプログラム名を受け入れ、絶対パスを要求する代わりにシステムパスを通じて解決できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- node.js, typescript
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100