Denis Tsoi
Denis Tsoi

Reputation: 10414

How to show code coverage feature in Chrome/Canary Dev Tools

Was reading using the chrome dev tools new code coverage feature and was having trouble trying to enable this feature.

I know that Canary enables this without the need to unflag, but I'm unsure where to locate this feature from within Chrome Devtools.

Upvotes: 12

Views: 18183

Answers (2)

user2871763
user2871763

Reputation:

With the developer tools window open, you can open the command menu using Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows, Linux), start typing Coverage and then select Show Coverage:

enter image description here

Alternatively, you can also select the three dots on the far right of the developer tools window, select More Tools and then select Coverage:

enter image description here

Upvotes: 44

Denis Tsoi
Denis Tsoi

Reputation: 10414

click the more options dots

It wasn't mentioned in the above post, but if you click the three dots in Chrome dev tools, the option for code coverage is shown in the menu.

Upvotes: 6

Related Questions