Merge ba36ba86bc
into 153a028f3b
This commit is contained in:
commit
f49ca01e53
|
@ -423,10 +423,16 @@ export class DebugService implements IDebugService {
|
|||
if (activeEditor && activeEditor.resource) {
|
||||
type = this.chosenEnvironments[activeEditor.resource.toString()];
|
||||
}
|
||||
|
||||
if (!type) {
|
||||
guess = await this.adapterManager.guessDebugger(false);
|
||||
if (guess) {
|
||||
type = guess.type;
|
||||
// Set the Live Share guest debug type when the user has joined a collaboration session
|
||||
if (this.configurationManager.hasDebugConfigurationProvider('*') && this.configurationManager.hasDebugConfigurationProvider('vslsJoin')) {
|
||||
type = 'vslsJoin';
|
||||
} else {
|
||||
guess = await this.adapterManager.guessDebugger(false);
|
||||
if (guess) {
|
||||
type = guess.type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue