Sorry if this is the wrong discussion group.
And because of this problem:
Debugging node emscripten builds? - WebAssembly - Discussions on Python.org
I have to printf debug everything.
This works fine when the problem is in the c code, but I’m at the point where something is failing in bootstrap.py and I can’t just use ‘print’ because the builtins haven’t loaded yet.
Does anybody have any guidance on what I could use to print to stdout instead?
This is the error I get when using ‘print’ in bootstrap.py:
RuntimeError: lost sys.stdout