摘自:
if (build.version.sdk_int >=build.version_codes.kitkat)2、把android裝置設定為開發者模式,把手機usb除錯模式開啟(「設定」->」開發人員選項」->」usb除錯」)
4、在手機上開啟網頁的時候,chrome就會檢測到網頁,點選inspect就可以直接除錯
三、ios的inspect遠端除錯
1、ios包應該是debug,release應該不能除錯
2、iphone手機 設定 → safari → 高階 → web 檢查器 → 開
3、安裝remotedebug-ios-webkit-adapter
brew update4、安裝最新版本的介面卡brew unlink libimobiledevice ios-webkit-debug-proxy
brew uninstall --force libimobiledevice ios-webkit-debug-proxy
brew install --head libimobiledevice
brew install --head ios-webkit-debug-proxy
npm install remotedebug-ios-webkit-adapter -g5、啟動remotedebug ios webkit adapter
7、在discover network targets裡面增加localhost:9000,就可以在chrome裡面除錯手機頁面了
應用遠端除錯
在集群中的應用出現問題是,可通過 kubectl exec 進入容器命令列終端進行問題診斷 pod 中只有乙個容器時 kubectl exec it pod name bin bash pod中有多個容器時 kubectl exec it pod name c container name bin ...
visual studio之遠端除錯
遠端除錯需要以下幾個步驟 1 在遠端裝置上安裝remote debugger,啟動,選擇tools options,設定為no authenication,勾選allow any user to debug,並將maximum idle time設為0 即可以一直閒置而不會自動退出程序 2 本地裝置...
利用Chrome進行遠端移動端除錯
chrome還可以支援遠端移動端除錯,方法如下 1 在開發機器上,按f12開啟開發者工具,在開發者工具的右上角選擇更多工具 more tools 檢查裝置 inspect devices 見下圖 2 利用usb資料線連線個人手機,並在手機上啟用usb除錯者模式。3 在個人手機上開啟chrome。4 ...