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.

Immediate window for quick debugging

See original GitHub issue

Is this a bug report or a feature request?

Feature request 🎁

How the feature should work?

We console log most of the time to quickly see the values variables are holding. But it could be overwhelming to find the conole.log results when you have thousands of lines printed to the console.

This is a crazy idea to make that work with the luxury of the UI we have in majestic. You would still use the good old console.log but instead of logging just the value, you would prepend it with a unique pattern like #^<yourValue>^# or $#<yourValue>#$, then majestic would go pick these values up and show it you in a UI, as I call it, The debug window.

This is still an early idea. Will try to put together a POC and see how it goes.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
azzcommented, Jan 6, 2018

Why not just use vscode-jest for that?

image

image

0reactions
Raathigeshcommented, Jan 7, 2018

And this implementation does not require to use any special characters while logging as earlier planned. Using regex to figure out the logs from the output stream which is not very reliable, so experimental.
Jest team suggested to use setupFiles and override the console method to get hold of the console logs which would be more reliable so that’s an enhancement to address.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I re-open the Visual Studio Immediate Window?
To get the immediate window back you can go to Debug --> Windows --> Immediate or you can use Ctrl Alt I either...
Read more >
5 Tricks You Should Know About Visual Studio's Immediate ...
1. You can debug any methods called from the Immediate window · 2. Method access rules don't apply for the Immediate window ·...
Read more >
9 - Immediate Window | Basic Visual Studio Debugging
This video introduces one more window i.e. immediate window. One of the differentiating point between other debugging windows and immediate ...
Read more >
Part 5 Immediate window in visual studio - YouTube
Text version of the videohttp://csharp-video-tutorials.blogspot.com/2014/04/part-5- immediate - window -in-visual-studio_22.
Read more >
Immediate Window – Interact with your Code while Debugging ...
The immediate window offers a way to access the code of our application while it is being executed. While debugging, we can write...
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