Update to VS Code 1.52.1
This commit is contained in:
@ -16,9 +16,10 @@ const WEB_ROOT = '${workspaceFolder}';
|
||||
|
||||
interface ServerReadyAction {
|
||||
pattern: string;
|
||||
action?: 'openExternally' | 'debugWithChrome';
|
||||
action?: 'openExternally' | 'debugWithChrome' | 'startDebugging';
|
||||
uriFormat?: string;
|
||||
webRoot?: string;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
class ServerReadyDetector extends vscode.Disposable {
|
||||
@ -155,6 +156,10 @@ class ServerReadyDetector extends vscode.Disposable {
|
||||
});
|
||||
break;
|
||||
|
||||
case 'startDebugging':
|
||||
vscode.debug.startDebugging(session.workspaceFolder, args.name || 'unspecified');
|
||||
break;
|
||||
|
||||
default:
|
||||
// not supported
|
||||
break;
|
||||
|
Reference in New Issue
Block a user