Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit c2254a3

Browse files
committed
send debug break to engine
1 parent d9d09b0 commit c2254a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mobile/android/android-device.ts

+3
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ export class AndroidDevice implements Mobile.IAndroidDevice {
259259
var clearDebugEnvironmentCommand = this.composeCommand('shell rm "%s"', envDebugOutFullpath);
260260
this.$childProcess.exec(clearDebugEnvironmentCommand).wait();
261261

262+
var setDebugBreakEnvironmentCommand = this.composeCommand('shell echo "" > "%s"', "debugbreak");
263+
this.$childProcess.exec(setDebugBreakEnvironmentCommand).wait();
264+
262265
this.startPackageOnDevice(packageName).wait();
263266

264267
var dbgPort = this.startAndGetPort(packageName).wait();

0 commit comments

Comments
 (0)