临时设置调试模式

adb shell //adb进入命令行模式

su //切换至超级用户
magisk resetprop ro.debuggable 1  //设置debuggable
stop;start; //一定要通过该方式重启
原文地址:https://www.cnblogs.com/Fightingbirds/p/15497570.html