<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: N.Adityavardhan</title>
    <description>The latest articles on DEV Community by N.Adityavardhan (@adityavardhan).</description>
    <link>https://dev.to/adityavardhan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F277879%2Fd3cf5b7b-267c-4f07-a153-cf95a3ff5dfb.jpeg</url>
      <title>DEV Community: N.Adityavardhan</title>
      <link>https://dev.to/adityavardhan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adityavardhan"/>
    <language>en</language>
    <item>
      <title>Welcome To New Chrome Dev Tools</title>
      <dc:creator>N.Adityavardhan</dc:creator>
      <pubDate>Mon, 25 Nov 2019 16:44:59 +0000</pubDate>
      <link>https://dev.to/adityavardhan/welcome-to-new-chrome-dev-tools-2nl0</link>
      <guid>https://dev.to/adityavardhan/welcome-to-new-chrome-dev-tools-2nl0</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iE5gAO5H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/chlzswj2jo5gme6i35eh.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iE5gAO5H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/chlzswj2jo5gme6i35eh.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hello, everyone here is the super cool stuff is waiting for you , in Chrome Devtools 78 and recently held Chrome Devtools 79 for 2020. Lets talk about what are mentioned in Chrome Devtools 78 and later we go on to Devtools 79.&lt;/p&gt;

&lt;h4&gt;What We are Covering&lt;/h4&gt;

&lt;p&gt;1 Multi-Client Support in Audits Panel&lt;/p&gt;

&lt;p&gt;2 Payment Handler Debugging&lt;/p&gt;

&lt;p&gt;3 Light House 5.2 in the Audits Panel&lt;/p&gt;

&lt;p&gt;4 Largest Contentful Paint -LCP in the Performance Panel&lt;/p&gt;

&lt;p&gt;5 File Devtools issues from the Main Menu&lt;/p&gt;

&lt;p&gt;I. &lt;b&gt;Multi-Client Support&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Multi-client support which means that you can now experiment with code changes within devtools and then audit the page to see how those changes affect your score.&lt;/p&gt;

&lt;p&gt;Steps to open Audits panel&lt;/p&gt;

&lt;p&gt;First Run your application locally and open in Google Chrome &amp;gt;&amp;gt; [ ctrl+shift+ I ] or [cmd + shift + I ] to open devtools . Then , Go to Audits and click on Run audits.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6T_O5nHC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/q6djcl5cn46ljycx1s0a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6T_O5nHC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/q6djcl5cn46ljycx1s0a.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This, is the screen you experience when you click on Run audits.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DH1G43Ly--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/kxtta1br6a67gnbxivxy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DH1G43Ly--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/kxtta1br6a67gnbxivxy.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here, my audits panel report says that my performance score isn’t qualified enough and Accessibility , Best Practices and SEO because this page has blocking resource jQuery . In Opportunities section in that audits panel.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4aRFOLYh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/od02lwijia4nn92cz3aw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4aRFOLYh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/od02lwijia4nn92cz3aw.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The learn more link tells me: I should use js/css the and if you use jquery it will suggest that you can use the async or defer attribute on JavaScript that isn’t needed for the page load.&lt;/p&gt;

&lt;p&gt;Test out the changes within Devtools . First Let’s just block the jquery request because i don’t need it . Open [Ctrl + Shift + P] &amp;gt;&amp;gt; Block &amp;gt;&amp;gt; Drawer select&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OYhCyehc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/8hcfx2uejnhq8j5d1aup.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OYhCyehc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/8hcfx2uejnhq8j5d1aup.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once, you selected the Drawer- Show Request blocking in console panel you can see Request Blocking panel aside. Click Add + icon and add jquery in the input field click on Add.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pJ66tFGP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4meqm8d207c974imjzt9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pJ66tFGP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/4meqm8d207c974imjzt9.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;step2. Add async or defer attribute in script tags for better performance for that . In devtools [Ctrl + shift + P] type overrides &amp;gt;&amp;gt; sources show overrides select this option. Then, select folder for overrides.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_EZDikKm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/34htq1xcan35107o61qe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_EZDikKm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/34htq1xcan35107o61qe.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After selecting overrides you have to click on + select folder and select the current project folder from your system. Then, it pop out a notification to Allow or deny. click on Allow to make changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DJmzXmKy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/3yfcrofym9q3m1o8dzf3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DJmzXmKy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/3yfcrofym9q3m1o8dzf3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your selected folder will appear in side nav &amp;gt;&amp;gt; Demo&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cxv5F7cn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dfxhal146z6bkycq6bvq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cxv5F7cn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dfxhal146z6bkycq6bvq.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;[Ctrl + P] to select the index.html page to add the async or defer attributes in script tag.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gjswph9x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/k2n48jkjcqaagenr83bb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gjswph9x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/k2n48jkjcqaagenr83bb.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3N2dVgRF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/g0zlvw7ee6siz9zuc13i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3N2dVgRF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/g0zlvw7ee6siz9zuc13i.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After, you made change in the html page [Ctrl + S].&lt;/p&gt;

&lt;p&gt;Now, return to Audits panel and again click on Run Audits , now see the performance and other metrics will change .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MAqq99l_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dvuwz15ewpde45nru4vz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MAqq99l_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dvuwz15ewpde45nru4vz.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Like this, we can increase the performance of the application also.&lt;/p&gt;

&lt;p&gt;Good Application performance looks like this, this is the way to use Multi client support in audits panel.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lb4SWAcm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/mcgk5uheud2yj7sbkl6g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lb4SWAcm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/mcgk5uheud2yj7sbkl6g.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;II. &lt;b&gt;Payment Handler Debugging&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The background services section of the application panel now supports ‘Payment Handler Events’.&lt;/p&gt;

&lt;p&gt;The Payment Handler API makes it easier to collect payment information from users which you can learn more about in this article to debug payment handler events.&lt;br&gt;
Go To Application Panel &amp;gt;&amp;gt; Select Payment Handler Section . Then, click record dev tools will now record payment handler activity for 3 days, even when dev tools is closed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--G0Uy6SWR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/qn9shg48muqe94r99vlt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--G0Uy6SWR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/qn9shg48muqe94r99vlt.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When, you made any payment transaction you can see here with corresponding details. click on Show events from other domains. Then click on the details transaction you can see the details of the card and payment transaction as well.&lt;/p&gt;

&lt;p&gt;III. &lt;b&gt;Light House 5.2 in the Audits Panel&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The new third party usage diagnostic audit tells you how much third party code your page requested and how long that third party code blocked the main thread while the page loaded.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--97l31gXZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/3xflqa0lcsuwnnkb7574.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--97l31gXZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/3xflqa0lcsuwnnkb7574.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the performance section of my audits report i can see the [Third-Party Usage audit]. If i click that audit to expand it . I see which third party domains were detected on my page and total size of the network requests coming from that domain and the amount of time that each third party blocked the main threat.&lt;/p&gt;

&lt;p&gt;IV. &lt;b&gt;Largest Contentful Paint in the Performance Panel&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The largest Content full paint metric is a new metric introduced in chrome 77 that measures when the largest content element in the view port was rendered.&lt;br&gt;
At Performance recording the LCP marker in the timing section tells you when your LCP event happend.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Y1Qnhu01--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/y8opo6n5e2kt0z52p1vv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y1Qnhu01--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/y8opo6n5e2kt0z52p1vv.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you hover over the marker, dev tools highlights the largest content element node in the viewport or you can click the marker then open the summary tab and hover over related node. If you click related note dev tools opens that node in the DOM tree.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;File DevTools issues from the Main Menu&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;If you ever encounter a bug in dev tools or have a feature request you can now file issues on the dev tools engineering teams tracker from the main menu.&lt;br&gt;
Click Main Menu &amp;gt;&amp;gt; Help &amp;gt;&amp;gt; Report a Dev tools Issue.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bWNpQx_3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dt8vb379nswfqueokj4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bWNpQx_3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/dt8vb379nswfqueokj4n.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once, you click on the Report a Dev tools issue you will redirect to the new page&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--02Zg4AXq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ss4wi6d66h4jfv37yukn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--02Zg4AXq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ss4wi6d66h4jfv37yukn.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What we covered so far, we covered the new dev tools and learnt new things, we haven’t covered in this section is Google chrome Devtools 2020. I will make another blog for that.&lt;/p&gt;

&lt;p&gt;Thank you everyone, i am always happy to learn new things and share feel free to comment and correct me if any improvements.&lt;/p&gt;

</description>
      <category>whatsnewinchromedevtools</category>
    </item>
  </channel>
</rss>
