I am debugging a web application with javascript (AngularJS) embedded inside an iPhone app. I'm pretty sure the angular app outputs some logging at startup, but I cannot figure out how I can access it.
Problem is that if I attach the web inspector from Safari to my iPhone simulator, it is already too late, because the app has already started.
How can I get to those logs?
document.location.reload();
does the trick just fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.