运行命令:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| chromium-browser --remote-debugging-port=9000 --user-data-dir=/home/user/.cache/chromium/Default/MyCache --disk-cache-dir=/dev/null --disk-cache-size=1 --disable-web-security --allow-running-insecure-content --disable-popup-blocking --no-first-run --disable-desktop-notifications --check-for-update-interval=31104000 --kiosk --app="http://192.168.1.88:8888/" --unsafely-treat-insecure-origin-as-secure="http://192.168.1.88:8888/"
|
远程调试:
1
| ssh user@192.168.1.88 -L 9000:localhost:9001
|
本地访问http://localhost:9001
即可远程调试