Debugging a .star file in VSCode

I found this thread a couple months ago: What is your IDE of choice? - Developers - Tidbyt

But since then, have not been able to get debugging working in vscode for a .star file. I actually stopped working on my Tidbyt apps a few months ago, just because debugging them is next to impossible without a proper IDE. I’m looking to take another stab at it.

All that said, I’m looking to get some help setting up a basic dev environment locally, so I can properly debug my Tidbyt .star files. Any info/direction/support would be greatly appreciated.

For anybody else that comes across this thread with the same question the answer is to use print debugging. If you define a debug print function like dprint then you can have it check for a debug flag and it will print if debug is set to true and not if it’s false.