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

feat: create a DevTools plugin for debugging browser related SDK issues #2343

Open
maschad opened this issue May 19, 2024 · 1 comment
Open
Assignees

Comments

@maschad
Copy link
Member

maschad commented May 19, 2024

Motivation

When debugging browser related issues such as encoding/decoding bugs in the browser for example, it could be useful to have a DevTools plugin that would display the relevant info.

Usage example

An example would be debugging the sway-farm dApp.

Let's say we are having an issue planting a seed, it would be helpful to see what the result of a contract call would be in the browser.

| Wallet Connected | Program Type Called | Result of Program Execution | Gas Expended for Last Transaction | Last Transaction Hash |
|------------------|---------------------|-----------------------------|------------------------------------|----------------------|
|                  |                     |                             |                                    |                      |
|                  |                     |                             |                                    |                      |

Of course these specific fields may relevant to that use case and so there would need to be some discussion about what's generic enough to apply to more use cases. Open to feedback.

This would significantly improve the debugging experience along with #2298

@maschad maschad added the feat label May 19, 2024
@petertonysmith94
Copy link
Contributor

I can see a lot of value in this and gives more power to our users to resolve their own issues.

@maschad maschad self-assigned this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants