Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing "Web Inspector" Settings in simulator

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:

Advanced Settings Menu

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

like image 801
Stijn van der Laan Avatar asked Jun 21 '18 15:06

Stijn van der Laan


People also ask

How do I enable Web Inspector?

Enable the Develop MenuChoose Safari > Preferences, and click Advanced. At the bottom of the pane, select the “Show Develop menu in menu bar” checkbox. Choose Develop > Show Web Inspector.

How do you inspect a simulator in Safari?

You'll need to go to Settings > Advanced and check the Show Debug Menu option. Then you'll see the option to open the web inspector for the Simulator right from that menu. With the Web Inspector open, you can debug inside the Simulator just like you could right in a desktop browser with DevTools.

How do I open developer options in simulator?

Enable developer options and USB debugging To enable developer options, tap the Build Number option 7 times. You can find this option in one of the following locations, depending on your Android version: Android 9 (API level 28) and higher: Settings > About Phone > Build Number. Android 8.0.


4 Answers

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)

like image 85
johnmerm Avatar answered Oct 10 '22 05:10

johnmerm


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.

enter image description here enter image description here

like image 22
Martin Avatar answered Oct 10 '22 06:10

Martin


i needed to restart desktop safari. might help.

like image 32
csomakk Avatar answered Oct 10 '22 06:10

csomakk


Worked for me download new Safari:
IOS Simulator: 13.4
(Safari Technology Preview)

https://developer.apple.com/safari/download/

Safari Technology Preview

like image 25
Bruno Machado Avatar answered Oct 10 '22 06:10

Bruno Machado