Skip to content

Commit e771c1a

Browse files
committed
Show missing console.logs when tns debug command is executed
1 parent 13eefee commit e771c1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/services/ios-debug-service.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ export class IOSDebugService extends DebugServiceBase implements IPlatformDebugS
3939
return "ios";
4040
}
4141

42-
public debug(debugData: IDebugData, debugOptions: IDebugOptions): Promise<string> {
42+
public async debug(debugData: IDebugData, debugOptions: IDebugOptions): Promise<string> {
43+
await this.device.openDeviceLogStream();
44+
4345
if (debugOptions.debugBrk && debugOptions.start) {
4446
this.$errors.failWithoutHelp("Expected exactly one of the --debug-brk or --start options.");
4547
}

0 commit comments

Comments
 (0)