Immediate window for quick debugging
See original GitHub issueIs 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:
- Created 6 years ago
- Comments:17 (17 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Why not just use vscode-jest for that?
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.