Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/common
Submodule common updated 1 files
+18 −0 definitions/log4js.d.ts
7 changes: 6 additions & 1 deletion lib/services/ios-debug-service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as iOSDevice from "../common/mobile/ios/device/ios-device";
import * as net from "net";
import * as path from "path";
import * as log4js from "log4js";
import {ChildProcess} from "child_process";
import byline = require("byline");

Expand Down Expand Up @@ -124,7 +125,11 @@ class IOSDebugService implements IDebugService {
if (lineText && _.startsWith(lineText, this.$projectData.projectId)) {
let pid = _.trimStart(lineText, this.$projectData.projectId + ": ");
this._lldbProcess = this.$childProcess.spawn("lldb", [ "-p", pid]);
this._lldbProcess.stdin.write("process continue\n");
if (log4js.levels.TRACE.isGreaterThanOrEqualTo(this.$logger.getLevel())) {
this._lldbProcess.stdout.pipe(process.stdout);
}
this._lldbProcess.stderr.pipe(process.stderr);
this._lldbProcess.stdin.write("process continue\n");
} else {
process.stdout.write(line + "\n");
}
Expand Down