Description:
What to do if you are using VScode and get the error Running the contributed command:’extension.node-debug.startSession’ failed.
This symptom seems to be limited to mac.
In my case it happened on macOS 10.12.4 VScode 1.12.1.
Solution:
In each lunch setting item of launch.json,
“protocol”: “legacy”,
If you add, it will work.
Better solution
Since the specifications of launch.json have changed variously, it may be better to delete it once and recreate it with Auto.
I’ve made tests and about 30 kinds of lunch, so I haven’t done it yet …