| 14 | // use this port by navigating to devtools://devtools/bundled/inspector.html?ws=127.0.0.1:${CDP_PORT} |
| 15 | const CDP_PORT = 62000; |
| 16 | |
| 17 | const print_help = () => { |
| 18 | console.log(`Usage: npx ts-node src/index.ts [options] |
| 19 | |
| 20 | Options: |
| 21 | --debug-port <port> Remote debug server port (default: ${DEBUG_PORT}) |
| 22 | --cdp-port <port> CDP proxy server port (default: ${CDP_PORT}) |
| 23 | --debug-main Output main process debug messages |
| 24 | --debug-frida Output Frida client messages |
| 25 | --auto-detect Automatically detect hook offsets (Windows x64) |
| 26 | -h, --help Show this help message`); |
| 27 | }; |
| 28 | |