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.

Need help with posting output to browser instead of console

See original GitHub issue

Hi, How to use it for multiple account on same server? Is there any solution?

Also Can anybody help me with the sample code for setting it on server for browser output i have tried many ways but it didn’t work?

app.get(‘/myQR’, (req, res) => { wbm.start({showBrowser: false, qrCodeData: false, session: true}).then(async () => { res.send( <!DOCTYPE html> <html> <body> <script> ${wbm.generateQRCode()}; </script> </body> </html> ); await wbm.end(); }).catch(err => console.log(err)); })

I tried using express also but not working.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
ashishbudhrajacommented, Jun 28, 2021

@3009aksingh Unfortunately no

0reactions
balatacacommented, Oct 29, 2021

Closed by inactivity

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a way to get the browser console output without using ...
What you can do is you can set console.log to a custom function, like (You should backup the standard console.log before calling this)...
Read more >
How to stop using console.log() and start using your browser's ...
In order to debug this in Chrome, you need to get used to using DevTools. To open Chrome Developer Tools, press Command+Option+I (Mac)...
Read more >
View and save your browser console logs - Zapier Help
1. Retrieve logs for Chrome · Open the main Chrome menu · Select More Tools > Developer Tools · Depending on which logs...
Read more >
Accessing the Browser Console and Network Logs
Press Ctrl + Shift + J (Windows / Linux) or Cmd + Opt + J (Mac). You can also access this Console panel...
Read more >
Debugging webpages with the browser console (video)
They work just the same. Some computers don't have F12 or the button is used for something else, so it's more straightforward just...
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