mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Do not install the watchdog if the extension host is debuggable (#26445)
This commit is contained in:
@@ -54,7 +54,9 @@ export class ExtensionHostMain {
|
||||
errors.setUnexpectedErrorHandler(err => mainThreadErrors.onUnexpectedExtHostError(errors.transformErrorForSerialization(err)));
|
||||
|
||||
// Configure the watchdog to kill our process if the JS event loop is unresponsive for more than 10s
|
||||
watchdog.start(10000);
|
||||
if (!initData.environment.isExtensionDevelopmentDebug) {
|
||||
watchdog.start(10000);
|
||||
}
|
||||
}
|
||||
|
||||
public start(): TPromise<void> {
|
||||
|
||||
Reference in New Issue
Block a user