summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ifuse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 2ca64d2..2bc0c2f 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -465,6 +465,10 @@ static int ifuse_opt_proc(void *data, const char *arg, int key, struct fuse_args
else if (strcmp(arg, "--root") == 0) {
ifuse_oper.init = ifuse_init_jailbroken;
return 0;
+ } else if (strcmp(arg, "--debug") == 0) {
+ iphone_set_debug_mask(DBGMASK_ALL);
+ iphone_set_debug(1);
+ return 0;
} else
return 0;
break;