Thanks again, that’s a lot to take in ![]()
On second thought VS Code did show the values of the variables, but in a very different layout than the screenshot in the link you mentioned.
I still find it hard to wrap my head around what bits of the code refer to the current iteration and which refer to the previous one, but I guess that requires more reading and playing with typst on my part.