Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On-disk module sources should be transparent to a developer while debugging in VSCode #2116

Open
kriskowal opened this issue Mar 6, 2024 · 0 comments
Labels
enhancement New feature or request project Issues submitted for attention of project management at Agoric to communicate with stake-holders

Comments

@kriskowal
Copy link
Member

kriskowal commented Mar 6, 2024

What is the Problem Being Solved?

Currently, when debugging code that is being executed via local use of bundleSource and importBundle, the developer sees the code through the combined lenses of static-module-record and evasive-transform transformations. Their breakpoints do not line up, spacing varies sometimes. The bundle cannot contain a source map or source URL since these vary depending on the physical layout of a developer’s file storage and bundles should have the same integrity hashes regardless of where they are built. However, a bundle can refer indirectly using the hashes of the source or target code and the bundle importer can introduce source URLs and source map URLs before evaluation. Debugging has distinct design criteria from auditing #2117 but some solutions may provide adequate coverage over both.

Description of the Design

Security Considerations

Scaling Considerations

Test Plan

Compatibility Considerations

Upgrade Considerations

@kriskowal kriskowal added the enhancement New feature or request label Mar 6, 2024
@kriskowal kriskowal added the project Issues submitted for attention of project management at Agoric to communicate with stake-holders label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request project Issues submitted for attention of project management at Agoric to communicate with stake-holders
Projects
None yet
Development

No branches or pull requests

1 participant