Skip to content

Commit eb76ad7

Browse files
fix: increase timeout for reconnecting
Increase the timeout for reconnect after liveSync. Currently, if you have stopped on a breakpoint and apply a change in the code (for iOS), the session will not be able to restart for 10 seconds. So increase the timeout as a temp solution for the moment.
1 parent 24d5f8d commit eb76ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug-adapter/nativeScriptDebugAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Event, TerminatedEvent } from 'vscode-debugadapter';
55
import { DebugProtocol } from 'vscode-debugprotocol';
66
import * as extProtocol from '../common/extensionProtocol';
77

8-
const reconnectAfterLiveSyncTimeout = 10 * 1000;
8+
const reconnectAfterLiveSyncTimeout = 30 * 1000;
99

1010
export class NativeScriptDebugAdapter extends ChromeDebugAdapter {
1111
private _idCounter = 0;

0 commit comments

Comments
 (0)