Skip to content

Commit

Permalink
Include argv in debug adapter error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTup committed Sep 23, 2020
1 parent d7054fa commit 22f2ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug/debug_entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ const dbg = debugType ? debuggers[debugType] : undefined;
if (dbg) {
DebugSession.run(dbg);
} else {
throw new Error(`Debugger type must be one of ${Object.keys(debuggers).join(", ")} but got ${debugType}`);
throw new Error(`Debugger type must be one of ${Object.keys(debuggers).join(", ")} but got ${debugType}.\n argv: ${process.argv.join(" ")}`);
}

0 comments on commit 22f2ca8

Please sign in to comment.