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.

Is it possible to disable DevTools message?

See original GitHub issue
Download the Apollo DevTools for a better development experience: https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/

I’m running a fully functioning Apollo Client in my tests (as I’m using MSW for testing https://mswjs.io/) and I have this annoying message in the stdout above. Is it possible to disable it?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
chris110408commented, Nov 2, 2022

@jpvajda @RIP21 Hello, I put a fix. I think use header will be a good solution for this issue. Please review the PR and let me know if it works

@jpvajda please let me know if you want me ignore the prettier style change

1reaction
RIP21commented, Oct 15, 2022

Another hack is to set in the setupTests.ts e.g. your global test file however it’s named

globalThis.__DEV__ = false

You would like to ignore the TS issue with that obviously 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Selenium ChromeDriver how to disable the message ...
If you are trying to fix Selenium with Python on Windows, type: from selenium.webdriver.chrome.options import Options options = Options() ...
Read more >
Disable developer tools on a web page - CodeProject
The answer is just detect if any one open dev tool, if dev tool is open the redirect it to home page or...
Read more >
Disable "What's New" in dev tools? - Google Groups
Hi,. Is there a way to disable the "What's New" panel that shows up with each release? I seem to see this once...
Read more >
How to remove the Warning message in Dev Console?
... except can can I remove the Warning message in the dev console to ... Developer Tools opens on the right, so it...
Read more >
Disable JavaScript - Chrome Developers
Disable JavaScript · Open the Command Menu again and run the Enable JavaScript command. · Close DevTools.
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