Closed MichalStrehovsky closed 1 month ago
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas See info in area-owners.md if you want to be subscribed.
Thanks for pointing this out! Putting it under DebuggerSupport would make sense to me.
We've been weary of doing optimizations that might affect debuggability, such as stripping unused properties. On the other hand, we strip parameter names. The following program:
Looks like this under debugger:
We should probably decide whether we're fine breaking debugger and either stop doing this optimization unless DebuggerSupport is false, or open floodgates to more optimizations like this.