{"id":5602,"date":"2016-07-29T04:36:53","date_gmt":"2016-07-29T04:36:53","guid":{"rendered":"http:\/\/www.jitendrazaa.com\/blog\/?p=5602"},"modified":"2016-07-29T14:20:42","modified_gmt":"2016-07-29T14:20:42","slug":"tips-to-effectively-use-google-chrome-developer-tool","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/webtech\/tips-to-effectively-use-google-chrome-developer-tool\/","title":{"rendered":"Tips to effectively use Google chrome developer tool"},"content":{"rendered":"<p style=\"text-align: justify;\">Web based applications are dominating the software industry and various frameworks like Angular 2, React, polymer and Lightning are on rise. From movie Spider man, this dialogue stands very true &#8211;\u00a0<em>With great power comes great responsibility.<\/em><\/p>\n<p style=\"text-align: justify;\">As a web developer, its our job to make sure the application implemented by us, stands on performance benchmark and at the same time development time is reduced. To achieve this, fast\u00a0and effective troubleshooting of web application becomes integral part of project development. One of the best tool to troubleshoot web applications are available freely &#8211;\u00a0<em>Google chrome developer tools.<\/em><\/p>\n<p style=\"text-align: justify;\">In this blog post, we will uncover lots of tips and tricks about using\u00a0<em>chrome developer tools.<\/em><\/p>\n<p style=\"text-align: justify;\">To launch, <em>chrome\u00a0developer tools\u00a0<\/em>in chrome, use shortcut\u00a0<em>ctrl+shift+I\u00a0<\/em>or\u00a0<em>ctrl+shift+J.\u00a0<\/em>We can directly execute Javascript in chrome dev tools without creating any html or javascript file.<\/p>\n<h2 style=\"text-align: justify;\">Console API<\/h2>\n<p style=\"text-align: justify;\">we will start with console API of chrome developer tool first.<\/p>\n<h3><strong>Printing Debug statements in Javascript<\/strong><\/h3>\n<p style=\"text-align: justify;\">we can use various methods of console in javascript to debug our code. Previously, if we wanted to debug JavaScript, alert methods were mostly used however they were very annoying. Below code snippet shows available methods to print debug statements in chrome console.<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n&lt;script&gt; \r\n\tconsole.error('Google chrome dev tools - error');\r\n\tconsole.warn('Google chrome dev tools - warn'); \r\n\tconsole.info('Google chrome dev tools - info'); \r\n\tconsole.debug('Google chrome dev tools - debug'); \r\n\tconsole.log('Google chrome dev tools - log');  \r\n&lt;\/script&gt;\r\n<\/pre>\n<p>Below is output, how its displayed in chrome<\/p>\n<figure id=\"attachment_5603\" aria-describedby=\"caption-attachment-5603\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.log-levels.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5603\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.log-levels.png?resize=570%2C187&#038;ssl=1\" alt=\"Console.log levels\" width=\"570\" height=\"187\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.log-levels.png?w=570&amp;ssl=1 570w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.log-levels.png?resize=300%2C98&amp;ssl=1 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><figcaption id=\"caption-attachment-5603\" class=\"wp-caption-text\">Console.log levels<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">As shown in above image, different log levels of console method printed in different color.\u00a0<em>error\u00a0<\/em>log level even prints complete stack trace of methods showing origin of error.<\/p>\n<p><!--more--><\/p>\n<h3><strong>Assert statements<\/strong><\/h3>\n<p style=\"text-align: justify;\">If you are coming from Java, .net or Salesforce background, you already know importance of assertion. Luckily in chrome dev tools as well, we can use assert statement to make sure expectation of code is properly met. If assertion is true then nothing happens, however if its not true then prints stack trace of error as shown in image below<\/p>\n<figure id=\"attachment_5606\" aria-describedby=\"caption-attachment-5606\" style=\"width: 436px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.assert-in-chrome-developer-tool.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5606\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.assert-in-chrome-developer-tool.png?resize=436%2C190&#038;ssl=1\" alt=\"Console.assert in chrome developer tool\" width=\"436\" height=\"190\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.assert-in-chrome-developer-tool.png?w=436&amp;ssl=1 436w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Console.assert-in-chrome-developer-tool.png?resize=300%2C131&amp;ssl=1 300w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/a><figcaption id=\"caption-attachment-5606\" class=\"wp-caption-text\">Console.assert in chrome developer tool<\/figcaption><\/figure>\n<h3>\u00a0<strong>Grouping console log statements<\/strong><\/h3>\n<p style=\"text-align: justify;\">In situation, where we need to print lots of debug statements however it may be cumbersome to find intended statements in a heap of logs. Assume that we have multiple components in a page, wouldn&#8217;t it be nice, if some how we can group debug statements per components?<em>console.group()\u00a0<\/em>method helps us to achieve this. We can give a name of group and then close it using\u00a0<em>console.groupEnd()\u00a0<\/em>. Group of these debug statements can be expanded or collpased in console view. Below code snippet shows how to use it<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n&lt;script&gt;\r\nconsole.group('Point and Click');\r\nconsole.log('Learn basics of CRM');\r\nconsole.log('Learn Workflow, process builder');\r\nconsole.log('Learn Approval Process');\r\nconsole.log('Learn Reporting');\r\nconsole.groupEnd();\r\n\r\nconsole.group('Coding');\r\nconsole.log('Understand OOPs');\r\nconsole.log('Learn Apex');\r\nconsole.log('Learn Trigger');\r\nconsole.log('Learn HTML, Javascript');\r\nconsole.log('Learn Lightning Components');\r\nconsole.groupEnd();\r\n&lt;\/script&gt;\r\n<\/pre>\n<figure id=\"attachment_5609\" aria-describedby=\"caption-attachment-5609\" style=\"width: 453px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Grouping-in-chrome-dev-tools.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5609\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Grouping-in-chrome-dev-tools.png?resize=453%2C271&#038;ssl=1\" alt=\"Grouping in chrome dev tools\" width=\"453\" height=\"271\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Grouping-in-chrome-dev-tools.png?w=453&amp;ssl=1 453w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Grouping-in-chrome-dev-tools.png?resize=300%2C179&amp;ssl=1 300w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/a><figcaption id=\"caption-attachment-5609\" class=\"wp-caption-text\">Grouping in chrome dev tools<\/figcaption><\/figure>\n<h3>\u00a0<strong>Printing object using console.dir<\/strong><\/h3>\n<p style=\"text-align: justify;\">We can print object in console using console.log, however it will print in string format. There is one utility method <em>console.dir,<\/em> specially to print object in directory structure. It makes object more\u00a0readable.<\/p>\n<p>Example:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n&lt;script&gt;  \r\nvar person = { name : 'John Doe', company : 'Cognizant', country : 'India'  };\r\nconsole.log(person);\r\nconsole.dir(person); \r\n&lt;\/script&gt;\r\n<\/pre>\n<p>Output:<\/p>\n<figure id=\"attachment_5614\" aria-describedby=\"caption-attachment-5614\" style=\"width: 445px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/console.dir_.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5614\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/console.dir_.png?resize=445%2C196&#038;ssl=1\" alt=\"console.dir\" width=\"445\" height=\"196\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/console.dir_.png?w=445&amp;ssl=1 445w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/console.dir_.png?resize=300%2C132&amp;ssl=1 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/a><figcaption id=\"caption-attachment-5614\" class=\"wp-caption-text\">usage of console.dir<\/figcaption><\/figure>\n<h3><strong>Calculate time taken to execute code<\/strong><\/h3>\n<p style=\"text-align: justify;\">We can use console.time to calculate time taken by some piece of code. Time label needs to be supplied in\u00a0<em>console.time\u00a0<\/em>and\u00a0<em>console.timeEnd.<\/em><\/p>\n<p>Example :<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\"> \r\n&lt;script&gt;  \r\nconsole.time('Object initialization');\r\nvar person = { name : 'John Doe', company : 'Cognizant', country : 'India'  };\r\nconsole.log(person);\r\nconsole.dir(person);\r\nconsole.timeEnd('Object initialization');\r\n&lt;\/script&gt;\r\n<\/pre>\n<p>Output:<\/p>\n<figure id=\"attachment_5617\" aria-describedby=\"caption-attachment-5617\" style=\"width: 439px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Usage-of-console.time_.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5617\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Usage-of-console.time_.png?resize=439%2C213&#038;ssl=1\" alt=\"Usage of console.time\" width=\"439\" height=\"213\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Usage-of-console.time_.png?w=439&amp;ssl=1 439w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Usage-of-console.time_.png?resize=300%2C146&amp;ssl=1 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/a><figcaption id=\"caption-attachment-5617\" class=\"wp-caption-text\">Usage of console.time<\/figcaption><\/figure>\n<h3><strong>Formatting console.log<\/strong><\/h3>\n<p style=\"text-align: justify;\">Console logging methods can also be formatted using %s for string, %i for integers, just like printf method of C language.<\/p>\n<p>Example :<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n&lt;script&gt;\r\nvar apiV = 36;\r\nvar tech = 'Apex';\r\nconsole.log('%s is running on version %i',tech,apiV);\r\n&lt;\/script&gt;\r\n\r\nOutput : Apex is running on version 36\r\n<\/pre>\n<p style=\"text-align: justify;\">We can also use %c, to apply css style on console log statements\u00a0<a href=\"https:\/\/www.jitendrazaa.com\/blog\/webtech\/change-style-of-console-log-debug-statements-in-javascript\/\">as discussed in this article<\/a>.<\/p>\n<h3><strong>Clear method<\/strong><\/h3>\n<p style=\"text-align: justify;\">If there are lots of information available on console and we want to rid off it, then <em>clear()<\/em> method can be executed on console to clean console panel.<\/p>\n<h3>Console.table<\/h3>\n<p>This command can be used to display list of any object in tabular format. Consider below\u00a0array of object in JavaScript code<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n&lt;script&gt;\r\nvar persons = &#x5B;\r\n{ name : 'Marthas', company : 'Cognizant', country : 'USA' },\r\n{ name : 'John Doe', company : 'Cognizant', country : 'India' },\r\n];\r\n&lt;\/script&gt;\r\n<\/pre>\n<p>Below image shows two outputs. one using simple console.info method and other using table method.<\/p>\n<figure id=\"attachment_5627\" aria-describedby=\"caption-attachment-5627\" style=\"width: 668px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/using-table-to-show-array-of-data-in-tabular-format.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5627\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/using-table-to-show-array-of-data-in-tabular-format.png?resize=668%2C361&#038;ssl=1\" alt=\"using table to show array of data in tabular format\" width=\"668\" height=\"361\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/using-table-to-show-array-of-data-in-tabular-format.png?w=668&amp;ssl=1 668w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/using-table-to-show-array-of-data-in-tabular-format.png?resize=300%2C162&amp;ssl=1 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/a><figcaption id=\"caption-attachment-5627\" class=\"wp-caption-text\">using table to show array of data in tabular format<\/figcaption><\/figure>\n<h2>Command line API<\/h2>\n<p style=\"text-align: justify;\">Next, talk about Command line API supported by chrome developer tool. Using Command line API, we can execute JavaScript in context of current page or monitor events. We can execute any method declared on web page or check variable values.<\/p>\n<h3>Selectors<\/h3>\n<p style=\"text-align: justify;\">There are basically three types of selectors available to use in chrome dev tools, its syntax might look familiar to you if you have used JQuery in past. We can use element Id, class or tag names to select elements, all CSS selectors will work.<\/p>\n<ol>\n<li>$(Selection)<\/li>\n<li>$$(Selection)<\/li>\n<li>$x(xpath)<\/li>\n<\/ol>\n<p>Consider below html example<\/p>\n<figure id=\"attachment_5625\" aria-describedby=\"caption-attachment-5625\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/HTML-code-snippet-for-selectors.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5625\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/HTML-code-snippet-for-selectors.png?resize=840%2C330&#038;ssl=1\" alt=\"HTML code snippet for selectors\" width=\"840\" height=\"330\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/HTML-code-snippet-for-selectors.png?resize=1024%2C402&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/HTML-code-snippet-for-selectors.png?resize=300%2C118&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/HTML-code-snippet-for-selectors.png?resize=768%2C301&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/HTML-code-snippet-for-selectors.png?w=1122&amp;ssl=1 1122w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/a><figcaption id=\"caption-attachment-5625\" class=\"wp-caption-text\">HTML code snippet for selectors<\/figcaption><\/figure>\n<p>We can use selectors, as shown in below gif image<\/p>\n<figure id=\"attachment_5626\" aria-describedby=\"caption-attachment-5626\" style=\"width: 668px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Selectors-in-Chrome-developer-tools.gif?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5626\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Selectors-in-Chrome-developer-tools.gif?resize=668%2C464&#038;ssl=1\" alt=\"Selectors in Chrome developer tools\" width=\"668\" height=\"464\" \/><\/a><figcaption id=\"caption-attachment-5626\" class=\"wp-caption-text\">Selectors in Chrome developer tools<\/figcaption><\/figure>\n<h3>Inspect<\/h3>\n<p style=\"text-align: justify;\">We can combine\u00a0<em>selector\u00a0<\/em>and\u00a0<em>inspect\u00a0<\/em>method together to inspect any element in web page as shown in below image<\/p>\n<figure id=\"attachment_5629\" aria-describedby=\"caption-attachment-5629\" style=\"width: 668px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Inspect-element-in-Chrome-dev-tools-1.gif?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5629\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Inspect-element-in-Chrome-dev-tools-1.gif?resize=668%2C464&#038;ssl=1\" alt=\"Inspect element in Chrome dev tools\" width=\"668\" height=\"464\" \/><\/a><figcaption id=\"caption-attachment-5629\" class=\"wp-caption-text\">Inspect element in Chrome dev tools<\/figcaption><\/figure>\n<h3>Monitor events<\/h3>\n<p style=\"text-align: justify;\">We can monitor any supported events in chrome using\u00a0<em>monitorEvents\u00a0<\/em>methods. Let&#8217;s assume, we need to monitor click event on first\u00a0<em>p\u00a0<\/em>tag in document. Below image shows, output when we click on first paragraph element in web page.\u00a0<em>monitorEvents\u00a0<\/em>takes first parameter as selector and other parameters as event types to be monitored.<\/p>\n<figure id=\"attachment_5630\" aria-describedby=\"caption-attachment-5630\" style=\"width: 693px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Monitor-events-in-chrome-dev-tools.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5630\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Monitor-events-in-chrome-dev-tools.png?resize=693%2C145&#038;ssl=1\" alt=\"Monitor events in chrome dev tools\" width=\"693\" height=\"145\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Monitor-events-in-chrome-dev-tools.png?w=693&amp;ssl=1 693w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Monitor-events-in-chrome-dev-tools.png?resize=300%2C63&amp;ssl=1 300w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><\/a><figcaption id=\"caption-attachment-5630\" class=\"wp-caption-text\">Monitor events in chrome dev tools<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>While building Lightning Components in Salesforce, how to effectively use Google chrome developer tools to troubleshoot and analyze issue<\/p>\n","protected":false},"author":1,"featured_media":5633,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19],"tags":[323,109],"class_list":["post-5602","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webtech","tag-chrome","tag-google"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/07\/Chrome-Dev-tools.png?fit=600%2C400&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5259,"url":"https:\/\/www.jitendrazaa.com\/blog\/webtech\/change-style-of-console-log-debug-statements-in-javascript\/","url_meta":{"origin":5602,"position":0},"title":"Change Style of Console.log debug statements in JavaScript","author":"Jitendra","date":"January 30, 2016","format":false,"excerpt":"Applying css style to console.log statements in JavaScript","rel":"","context":"In &quot;HTML&quot;","block_context":{"text":"HTML","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/webtech\/web\/"},"img":{"alt_text":"Style Console.log in Salesforce Lightning Component","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Style-Console.log-in-Salesforce-Lightning.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Style-Console.log-in-Salesforce-Lightning.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Style-Console.log-in-Salesforce-Lightning.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Style-Console.log-in-Salesforce-Lightning.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4559,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/top-google-chrome-extensions-for-salesforce\/","url_meta":{"origin":5602,"position":1},"title":"Top Google chrome extensions for Salesforce","author":"Jitendra","date":"June 12, 2015","format":false,"excerpt":"Checkout if your favorite Google Chrome extension made it in Top extensions for Salesforce","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Dev tools - Chrome Extension","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/06\/Salesforce-Devtools-Chrome-Extension.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/06\/Salesforce-Devtools-Chrome-Extension.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/06\/Salesforce-Devtools-Chrome-Extension.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":30599,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/omniscript-debugging-methods-complete-developer-guide\/","url_meta":{"origin":5602,"position":2},"title":"OmniScript Debugging Methods","author":"Jitendra Zaa","date":"November 6, 2025","format":false,"excerpt":"Comprehensive guide to all OmniScript debugging methods in Salesforce OmniStudio. Covers built-in tools, browser debugging, Chrome extensions, Apex debugging, and third-party solutions.","rel":"","context":"In &quot;Apex&quot;","block_context":{"text":"Apex","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/apex\/"},"img":{"alt_text":"OmniScript Debugging Methods","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2025\/12\/OmniScript-Debugging-Methods.png?fit=1200%2C354&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2025\/12\/OmniScript-Debugging-Methods.png?fit=1200%2C354&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2025\/12\/OmniScript-Debugging-Methods.png?fit=1200%2C354&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2025\/12\/OmniScript-Debugging-Methods.png?fit=1200%2C354&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2025\/12\/OmniScript-Debugging-Methods.png?fit=1200%2C354&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4721,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/list-of-ide-available-for-salesforce-coding\/","url_meta":{"origin":5602,"position":3},"title":"List of IDE available for Salesforce coding","author":"Jitendra","date":"July 17, 2015","format":false,"excerpt":"List of all major IDE like Eclipse, Welkins, Cloud9 etc to code Apex, Visualforce, Trigger and lightning components in Salesforce","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Cloud9 IDE","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Cloud9-IDE.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Cloud9-IDE.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Cloud9-IDE.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Cloud9-IDE.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Cloud9-IDE.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":353,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/difference-between-sandbox-and-developer-edition-in-salesforce\/","url_meta":{"origin":5602,"position":4},"title":"Difference between Sandbox and developer edition in Salesforce","author":"Jitendra","date":"June 27, 2010","format":false,"excerpt":"Explains the basic difference in Sandbox and developer edition of Salesforce","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4698,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/my-favorite-appexchange-products\/","url_meta":{"origin":5602,"position":5},"title":"Top Salesforce tools , AppExchange and Heroku applications","author":"Jitendra","date":"July 1, 2015","format":false,"excerpt":"List of all my favorite Appexchange products, Heroku applications , Git repository , Free Source codes and some important Blog posts in Salesforce","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Top Salesforce Tools","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Top-Salesforce-Tools.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Top-Salesforce-Tools.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Top-Salesforce-Tools.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Top-Salesforce-Tools.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Top-Salesforce-Tools.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/5602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=5602"}],"version-history":[{"count":21,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/5602\/revisions"}],"predecessor-version":[{"id":5636,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/5602\/revisions\/5636"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media\/5633"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=5602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=5602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=5602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}