Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Promise Tab in Chrome DevTools

I cannot see the promise Tab in Chrome Devtools, as in the SS 1 below, Could anyone help me in bringing that one in normal chrome not in canary. Thanks in advance for any help.

enter image description here

My Dev tool looks like the one in SS2. enter image description here

like image 230
Mohamed Hussain Avatar asked Sep 17 '15 14:09

Mohamed Hussain


People also ask

Where is the Audits tab in DevTools?

Open Chrome DevTools. Click the Lighthouse tab. Click Analyze page load. DevTools shows you a list of audit categories.

How do I use DevTools Performance tab in Chrome?

To access the Performance tab, navigate to the website you want to profile, then open Chrome DevTools by right-clicking and selecting Inspect. Select the Performance tab inside Chrome DevTools. The easiest way to capture a performance profile is by clicking the Start profiling and reload page icon.

What is CDP in Chrome?

Chrome DevTools Protocol (CDP) is a set of APIs that allows developers to communicate with Chromium-based browsers, including Google Chrome. CDP was originally developed to power the Developer Tools features within Chrome, but since its introduction its usage has extended to much more than this initial use-case.


2 Answers

Beware!

As of April 2016, They have decided to remove the Promise Inspector experiment from Dev Tools, according to this commit.

until then

  • Go to chrome://flags and enable Developer Tools experiments.
  • Relaunch Chrome.
  • Then open dev tools
  • Go to settings -> experiments
  • check promise inspector
  • Close and open dev tools.
  • Press esc
like image 107
keheliya Avatar answered Sep 29 '22 14:09

keheliya


Something similar may be available soon, because Chrome 62 adds an API for querying objects:

queryObjects(Promise) returns all Promises

more info in the release notes: https://developers.google.com/web/updates/2017/08/devtools-release-notes

like image 26
jonne Avatar answered Sep 29 '22 13:09

jonne