Open justingrant opened 1 year ago
Yep - probably the exact same way we support the existing NodeJS symbol: https://github.com/js-temporal/temporal-polyfill/blob/bf2b199d3eed630674c8389f5fd4d0548566a467/lib/intrinsicclass.ts#L108
Though, our current bundles don't include any of this code by default, so I'm wondering how much value all these debug-only things are bringing.
Are there other packages that have a sensible "for debugging" different build / configuration that we could borrow from?
VSCode's debugger now has a new way of exposing the string representation of an object inside a debugger, using a new symbol property. I assume we should support this? See https://github.com/microsoft/vscode-js-debug/pull/1775.