Is there a way to view G-code as printing is in progress?
When printing from the SD card, there isn’t a way to view the G-code.
There is, however, an application called OctoPrint which will allow the G-code to be sent to the printer via the USB serial connection and viewing the G-code as it prints is one of its many features.
OctoPrint will run on any system that has Python3. The most popular option uses a Raspberry Pi.
Best you’re going to do without OctoPrint streaming to it, is to just look at the layer # on the screen of the printer, and go to that layer in the preview in your slicer.
You can run Octoprint on your windows PC if you don’t have a raspberry pi. It’s proven much more reliable than printing directly from Cura for me, and gets around using an SD card for everything.