[Pause] Locations should be symmetric for original and generated files
One of the coolest features we've worked on IMO, is debugger symmettry. Basically, we expect users to mostly care about debugging the original code, but we'll try to help users when they want to see the generated code.
One of the biggest use cases for trying to see the generated code is when you want to inspect variables in the generated code.
We currently map breakpoint locations, so you can see where the breakpoint is. We do not map the debug line and call stack locations, but we totally could and should
here's a patch
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
It is worth to notice that "symmetric" might not be a right word here. Single original location might be mapped to multiple generated locations (see e.g. allGeneratedPositionsFor ), but probably to simplicity of this issue the first generated location (or one returned by generatedPositionFor) must be selected for symmetry.