View Tabular Data in VS Code During Debugging
22 comments · 97% upvoted · source · other discussions
22 comments · 97% upvoted · source · other discussions
One day... I am going to learn how to use the debugger instead of just printf-ing everything
It's actually not as hard as it seems. Just try it
light mode.
Some people hate their retina's
Your pupils expand in dark mode trying to take in more light, but this changes the way your eyes focus on detail. For about half the population this creates a blurring effect (halation) that makes text difficult to read and actually increases eye strain and headaches. If you’ve ever taken a picture of a silhouette against a bright light source and seen the white edge bleed into the black, that’s what happens to us.
or they work in a well lit room?
lol as do most people? Maybe it's due to my blue eyes which actually causes more blue light pain, but doesn't matter if the room is perfectly lit. My eyes are on fire after a few hours in a light program. Forget sitting in a light program for 8 hours my eyes would pop lol
You could try adjust the color temperature of the monitor.
yeah ive done that lol. used night light and used f.lux. its dark mode programs and blue light blocking glasses or I get a migraine after a couple hours. blue eyes have like near zero raw protection to blue light due to no pigment in the iris to block anymore, crazy stuff honestly.
I have dark brown eyes and they want to pop out of their sockets when looking at black text on monitor-backlight-lit light background.
I think it's just being more sensitive to the light, or just simply consequence of spending what is now probably a bigger half of my life 1m from some screen.
Watching this GIF animation was physically painful for me.
Oh yeah all colors get wrecked since its not natural light wavelength. Optomistrist just mentioned that blues essentially have no tint to filter out extra.
LOL and same, maybe being three years old on that Tonka PC game grind was not the best for my eyes
Wow, so many useful plugins. You are a hero!
The Debug Visualizer Extension for VS Code allows you to visualize data during debugging - it's like the watch pane, but visually rather than textually.
This gif demonstrates the table visualization (which uses perspective.js). You can see that the existing way in VS Code to explore the content of arrays is unfeasible.
The VS Code extension is built on the open source library hediet/visualization, which offers rich visualization for json values. You can find a playground here.