Missing “Web Inspector” Settings in simulator

夙愿已清 提交于 2020-01-03 08:07:10

问题


After doing a "Reset All Content And Settings.." on the simulator the setting to enable using the web inspector in safari has disappeared, and I have no idea how to get it back:

Does anyone have an idea how to get this back, and "remote" debug a webpage in the simulator again?


回答1:


It seems that this option is not available in the simulated devices. Tip: If you want to connect the console from your desktop Safari, you will need the Technology Preview. the normal one does not discover the simulator (though it finds the real device normally)




回答2:


In my case (macOS 10.14.3 and iOS 12.1 simulators), the setting isn't there, but is active by default. Open the simulator and you should see it in Safari under Develop.



来源:https://stackoverflow.com/questions/50972680/missing-web-inspector-settings-in-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!