question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warn when window.devToolsExtension is undefined

See original GitHub issue

I have the extension installed in Chrome but window.devToolsExtension is undefined.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zalmoxisuscommented, Oct 4, 2016

Weird that checking that box is required only when the extension is installed from Chrome Store, that’s why I wasn’t able to replicate it before.

We should add the warning with the link to the docs, and this gif there: extensions

0reactions
zalmoxisuscommented, Oct 20, 2017

Hey @eric-burel. The best way is to use a dev server like webpack instead of opening the file directly. Otherwise, you should check that box as being introduced for security reason by Chrome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReferenceError: window is not defined (devToolsExtension)
So, I'm attempting to make 'React Developer Tools' chrome extension aware of my app, but am receiving the above mentioned error. Can anyone ......
Read more >
How to use the redux-immutable-state-invariant.default ... - Snyk
... Include middleware that will warn when you mutate the state object // but only include it ... const composeEnhancers = /*window !==...
Read more >
redux-devtools-extension - npm
Start using redux-devtools-extension in your project by running `npm i redux-devtools-extension`. There are 1311 other projects in the npm ...
Read more >
Javascript – TypeError: Cannot read property 'map' of undefined in ...
devToolsExtension !== 'undefined' ? window.devToolsExtension() : f => f ) ); return store; }. I believe why the data is not there is...
Read more >
Extending DevTools with Chrome Extensions
A DevTools extension adds functionality to the Chrome DevTools. ... The DevTools page exists for the lifetime of the DevTools window.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found