Gadget for debugging anything written to the USB Accessory.
Rebuild APK and ensure it loads the frida gadget or inject via a rooted device, config and script builts from npm build.
$ npm install
$ frida -U -p ${pid} --no-pause -l _agent.jsTo continuously recompile on change, keep this running in a terminal:
$ npm run watchAnd use an editor like Visual Studio Code for code completion and instant type-checking feedback.