don't warn about missing chrome debugger on WSL; fixes microsoft/vscode-chrome-debug#892
This commit is contained in:
parent
3bb0132ab3
commit
8827cf5a60
1 changed files with 1 additions and 2 deletions
|
@ -137,8 +137,7 @@ class ServerReadyDetector extends vscode.Disposable {
|
|||
break;
|
||||
case 'debugWithChrome':
|
||||
|
||||
const chrome = vscode.extensions.getExtension('msjsdiag.debugger-for-chrome');
|
||||
if (chrome) {
|
||||
if (vscode.env.remoteName === 'wsl' || !!vscode.extensions.getExtension('msjsdiag.debugger-for-chrome')) {
|
||||
vscode.debug.startDebugging(session.workspaceFolder, {
|
||||
type: 'chrome',
|
||||
name: 'Chrome Debug',
|
||||
|
|
Loading…
Reference in a new issue