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.

developer mode flag

See original GitHub issue

how about prop developerMode={true/false}? Trying to load comments at localhost. Can’t enter dev mode or add localhost as valid domain.

image

image

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
midori0507commented, Aug 25, 2019

@afixoftrix @liesislukas I managed to have this running on localhost, by giving the a fake URL to config, while giving it a real shortname In config, instead of giving url as full URL (contain localhost), try to replace your localhost with your DISQUS_SITENAME

const disqusConfig = {
    url: NODE_ENV === 'development' ? `http://${DISQUS_SITENAME}${props.location.pathname}`: props.location.href,
    title: props.articleTitle,
    identifier: props.articleId
  }
1reaction
midori0507commented, Aug 25, 2019

@midori0507

Could you explain this in a bit more detail? What is the DISQUS_SHORTNAME variable?

I think its a typo, should be DISQUS_SITENAME. Its the domain where you tend to use Disqus (the domain you registered in Disqus) for example your_domain.com

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chromium OS Docs - Developer Mode
Specifying Command Line Flags for Chrome · Enable developer mode. · Disable rootfs verification. · Access a shell. · Modify /etc/chrome_dev.conf (read the...
Read more >
Question: enable-developer-mode flag · Issue #5095 - GitHub
I'm testing my extension extensively (haha) with Puppeteer; but to debug background scripts I need each time to go to chrome://extensions ...
Read more >
How to turn on ChromeOS developer mode on your ...
How to enable Developer Mode in ChromeOS Developer mode screenshot on Chrome OS · Turn on your Chromebook. · Press and hold the...
Read more >
What are Chrome flags?
Chrome flags enable the user to activate or deactivate experimental features, whereas the controls available from the chrome://settings page ...
Read more >
What are Android Feature Flags and how to enable them
Simple. Open up Settings, and then navigate to System | About Phone. In this window, locate the Build Number option, and tap that...
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