Uniformed way to get Debug Lens target executable.
This commit is contained in:
@@ -108,10 +108,12 @@ export class Config {
|
||||
}
|
||||
|
||||
get debug() {
|
||||
// "/rustc/<id>" used by suggestions only.
|
||||
const { ["/rustc/<id>"]: _, ...sourceFileMap } = this.get<Record<string, string>>("debug.sourceFileMap");
|
||||
|
||||
return {
|
||||
engine: this.get<string>("debug.engine"),
|
||||
sourceFileMap: this.get<Record<string, string>>("debug.sourceFileMap"),
|
||||
sourceFileMap: sourceFileMap,
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user