File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -165,20 +165,20 @@ class AndroidDebugService extends DebugServiceBase implements IPlatformDebugServ
165
165
private async waitForDebugger ( packageName : String ) : Promise < void > {
166
166
let waitText : string = `0 /data/local/tmp/${ packageName } -debugger-started` ;
167
167
let maxWait = 12 ;
168
- let debugerStarted : boolean = false ;
169
- while ( maxWait > 0 && ! debugerStarted ) {
168
+ let debuggerStarted : boolean = false ;
169
+ while ( maxWait > 0 && ! debuggerStarted ) {
170
170
let forwardsResult = await this . device . adb . executeShellCommand ( [ "ls" , "-s" , `/data/local/tmp/${ packageName } -debugger-started` ] ) ;
171
171
172
172
maxWait -- ;
173
173
174
- debugerStarted = forwardsResult . indexOf ( waitText ) === - 1 ;
174
+ debuggerStarted = forwardsResult . indexOf ( waitText ) === - 1 ;
175
175
176
- if ( ! debugerStarted ) {
176
+ if ( ! debuggerStarted ) {
177
177
await sleep ( 500 ) ;
178
178
}
179
179
}
180
180
181
- if ( debugerStarted ) {
181
+ if ( debuggerStarted ) {
182
182
this . $logger . info ( "# NativeScript Debugger started #" ) ;
183
183
} else {
184
184
this . $logger . warn ( "# NativeScript Debugger did not start in time #" ) ;
You can’t perform that action at this time.
0 commit comments