{"id":2006,"date":"2020-01-29T05:27:30","date_gmt":"2020-01-29T05:27:30","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=2006"},"modified":"2023-01-30T09:45:07","modified_gmt":"2023-01-30T09:45:07","slug":"how-to-debug-or-view-errors-on-ipad-or-iphone","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/","title":{"rendered":"How to debug or view errors on iPad or iPhone?"},"content":{"rendered":"<h2>Debugging for iPad or iPhone<\/h2>\n<p>All Apple devices include debugging facilities that are added by Apple engineering teams to develop and debug specific subsystems. Many of those facilities stay in the released system package and you can use them to rectify your code. Here\u2019s a complete guide on how to use developer tools for debugging when developing for the iPad or iPhone.<br \/>\nThe iPhone&#8217;s safari application had an inbuilt <a href=\"https:\/\/studysection.com\/blog\/top-automated-testing-practices-to-follow\/\">debug Console<\/a> that developers used to capture website defects. Web Inspector is a tool that is used by web developers to change, debug, and optimize websites on both Macs and iOS devices. By using Web Inspector iPhone detects CSS, HTML, and JavaScript errors and details of each are displayed in the debugger. To Access the Web Inspector you need to activate it in the Safari settings on the iPhone or iPad device and you need to connect the iPhone to your Mac computer with a cable and open the Mac&#8217;s Safari, where you enable to Develop menu in Safari&#8217;s Advanced Preferences. Web Inspector is only compatible with Mac computers.<\/p>\n<h3>Steps To Activate Web Inspector on iPad or iPhone<\/h3>\n<p>The Web Inspector is disabled by default. However, developers can activate it only by some steps. Here&#8217;s how:<\/p>\n<ol>\n<li>Choose the <strong>Settings <\/strong>icon on the iPhone Home screen. The Settings screen will open.<\/li>\n<li>Choose <strong>Safari <\/strong>from the list of software packages accessible on your device. The Safari Settings screen will open.<\/li>\n<li>Scroll to the bottom and Choose the <strong>Advanced <\/strong>menu. The Advanced screen will open.<\/li>\n<li>In advanced settings, enable JavaScript (if it isn\u2019t already enabled) then enable Web Inspector.<\/li>\n<\/ol>\n<p>Please check the following screenshot:<\/p>\n<p><img decoding=\"async\" src=\"..\/wp-content\/uploads\/2020\/01\/img-01.png\" alt=\"img-01\" \/><\/p>\n<p>After Following these steps you need to Connect iPhone to Safari on On your Mac.<\/p>\n<h3>Connect iPhone to Safari on a Mac<\/h3>\n<p>To use the Web Inspector, connect your iPhone or other iOS devices to a Mac that is running the Safari browser. Plug your device into the pc using a cable.<br \/>\nWith Safari open, do the following:<\/p>\n<ol>\n<li>Click <strong>Safari <\/strong>within the menu bar and select <strong>Preferences<\/strong>.<\/li>\n<li>Click the <strong>Advanced <\/strong>tab in the <strong>Preferences<\/strong>.<\/li>\n<li>Select the box next to <strong>Show Develop menu in the menu bar<\/strong>.<\/li>\n<li>Exit the settings window.<\/li>\n<li>Click <strong>Develop <\/strong>within the Safari menu bar and choose Show <strong>Web Inspector<\/strong>.<\/li>\n<li>Now you can see your attached iPhone or other iOS device appears in the Develop drop-down menu. Your device will appear to your phone\u2019s name like ABC\u2019s iPhone.<\/li>\n<li>Then next to your phone name an arrow will appear. This should open another dropdown that lists whatever browser you&#8217;ve opened on your phone.<\/li>\n<\/ol>\n<p>Please Check Following Screenshot to connect iPhone with safari and start debugging:<\/p>\n<p><img decoding=\"async\" src=\"..\/wp-content\/uploads\/2020\/01\/img-02.png\" alt=\"img-02\" \/><\/p>\n<p><img decoding=\"async\" src=\"..\/wp-content\/uploads\/2020\/01\/img-03.png\" alt=\"img-03\" \/><\/p>\n<p>You have to open the browser window on your phone or else you won\u2019t see it listed within the dropdown. When you see your project\u2019s URL, select it. This will open the Safari Console. Once the Safari Console is open, now you can see the interaction between the console and the DOM on your mobile web browser. When you open the inspector and wave over an HTML element, that element is highlighted within the DOM.<\/p>\n<p><img decoding=\"async\" src=\"..\/wp-content\/uploads\/2020\/01\/img-04.png\" alt=\"img-04\" \/><\/p>\n<p>The Safari Console additionally offers tabs just like Chrome Console, you saw the Elements tab, where you\u2019ll be able to inspect the DOM elements. Then there\u2019s the Debugger tab, wherever you\u2019ll be able to view your JavaScript. There\u2019s also the Network tab, to observe your web activity, Timeline to assist track requests, rendering and JavaScript Events. You can also check warnings and error alerts.<\/p>\n<p>Safari Development tools offer a lot of options and settings for development, so developers can inspect all the resources on a web page. The Web Inspector window contains editable HTML and notes relating to the designs and layers of the web page during a separate panel. Apple introduced Responsive Design Mode in Web Inspector. Developers use this inbuilt machine to preview how the scale of the websites completely different screen sizes, resolutions, and orientations.<\/p>\n<p><small><em>Those who want to pursue their careers in the IT industry, our extensive and elaborated <a href=\"https:\/\/www.studysection.com\/computer-fundamentals-advanced\">Computer Certification exam<\/a> is available for both beginners and experts. This exam will help with a deep analysis of your skills in different functionalities of computer systems.<\/em><\/small><\/p>\n<p><script>\njQuery(\"#top-view-post\").text('text here');\njQuery(\"#top-view-post\").attr(\"href\", \"http:\/\/www.google.com\/\");\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debugging for iPad or iPhone All Apple devices include debugging facilities that are added by Apple engineering teams to develop<\/p>\n","protected":false},"author":1,"featured_media":2007,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[350,349],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>StudySection Blog - Debugging or viewing errors on iPad or iPhone<\/title>\n<meta name=\"description\" content=\"All Apple devices include debugging facilities that are added by Apple engineering teams to develop and debug specific subsystems.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"StudySection Blog - Debugging or viewing errors on iPad or iPhone\" \/>\n<meta property=\"og:description\" content=\"All Apple devices include debugging facilities that are added by Apple engineering teams to develop and debug specific subsystems.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-29T05:27:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-30T09:45:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/01\/iphone-debug.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"How to debug or view errors on iPad or iPhone?\",\"datePublished\":\"2020-01-29T05:27:30+00:00\",\"dateModified\":\"2023-01-30T09:45:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/\"},\"wordCount\":711,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"keywords\":[\"debug\",\"iPhone\"],\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/\",\"url\":\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/\",\"name\":\"StudySection Blog - Debugging or viewing errors on iPad or iPhone\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2020-01-29T05:27:30+00:00\",\"dateModified\":\"2023-01-30T09:45:07+00:00\",\"description\":\"All Apple devices include debugging facilities that are added by Apple engineering teams to develop and debug specific subsystems.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to debug or view errors on iPad or iPhone?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"StudySection Blog - Debugging or viewing errors on iPad or iPhone","description":"All Apple devices include debugging facilities that are added by Apple engineering teams to develop and debug specific subsystems.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/","og_locale":"en_US","og_type":"article","og_title":"StudySection Blog - Debugging or viewing errors on iPad or iPhone","og_description":"All Apple devices include debugging facilities that are added by Apple engineering teams to develop and debug specific subsystems.","og_url":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2020-01-29T05:27:30+00:00","article_modified_time":"2023-01-30T09:45:07+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2020\/01\/iphone-debug.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"How to debug or view errors on iPad or iPhone?","datePublished":"2020-01-29T05:27:30+00:00","dateModified":"2023-01-30T09:45:07+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/"},"wordCount":711,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"keywords":["debug","iPhone"],"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/","url":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/","name":"StudySection Blog - Debugging or viewing errors on iPad or iPhone","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2020-01-29T05:27:30+00:00","dateModified":"2023-01-30T09:45:07+00:00","description":"All Apple devices include debugging facilities that are added by Apple engineering teams to develop and debug specific subsystems.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/how-to-debug-or-view-errors-on-ipad-or-iphone\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to debug or view errors on iPad or iPhone?"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":3415,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/2006"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=2006"}],"version-history":[{"count":5,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/2006\/revisions"}],"predecessor-version":[{"id":6424,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/2006\/revisions\/6424"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/2007"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=2006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=2006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=2006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}