ios simulator - Keep safari remote debugging open on navigation -


i'm using safari's remote debugging inspect webview in iphone app in simulator. problem remote debugging window closes app does.

i have action switches app , can't read console.log messages before switch because i'm not quick enough , can't read logs after coming app because have re-open console first.

is there way keep open can @ least see last logs before switching apps?

here applescript launches safari inspector. can export executable application , have sitting in dock inspector single click or launch in build phase in xcode.

tell application "safari"     activate     delay 2     tell application "system events"         tell process "safari"             set frontmost true             click menu item 2 of menu 1 of menu item "ipad simulator" of menu 1 of menu bar item "develop" of menu bar 1         end tell     end tell end tell 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -