LoginSignup
0
1

More than 5 years have passed since last update.

VScode: Running the contributed command:'extension.node-debug.startSession' failed. が出たときの対処

Last updated at Posted at 2017-05-11

症状

VScodeを利用していて、Running the contributed command:'extension.node-debug.startSession' failed.というエラーが発生し、デバッグが出来なくなった場合の対処方法

この症状はmac限定の様です。
私の場合は、macOS 10.12.4 VScode 1.12.1 で発生しました。

解決方法

launch.json の 各ランチ設定の項目の中に、

"protocol": "legacy",

を追加すると動くようになります。

よりベターな解決方法

launch.json の仕様がいろいろ変わっているので、一度削除してAutoで再作成しておくと良いかも知れません。
自分はテストとか30種類ほどのランチを作り込んでいるので、まだやっていません・・・

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1