Skip to content

Commit 8fe3c5a

Browse files
fix debugging
1 parent 9b65869 commit 8fe3c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/frida-tools/src/internal/session.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ export const attach = (
9898
> => {
9999
const acquire = Effect.flatMap(FridaDevice.FridaDevice, ({ device }) =>
100100
Effect.tryPromise({
101-
try: (signal) => {
101+
try: async (signal) => {
102102
const cancellable = new Frida.Cancellable();
103103
signal.onabort = () => cancellable.cancel();
104104
console.log("here0");
105-
const session = device.attach(target, options, cancellable);
105+
const session = await device.attach(target, options, cancellable);
106106
console.log("here1");
107107
return session;
108108
},

0 commit comments

Comments
 (0)