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

Create a DevTools plugin for debugging browser related SDK issues #2343

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

Create a DevTools plugin for debugging browser related SDK issues #2343

maschad opened this issue May 19, 2024 · 1 comment
Labels
feat Issue is a feature

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 Issue is a feature 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
@maschad maschad removed their assignment Jun 4, 2024
@arboleya arboleya added p2 and removed mainnet labels Jun 9, 2024
@arboleya arboleya changed the title feat: create a DevTools plugin for debugging browser related SDK issues Create a DevTools plugin for debugging browser related SDK issues Jul 19, 2024
@arboleya arboleya added the temp:notion label Sep 8, 2024 — with Linear
@arboleya arboleya added the temp-linear label Sep 8, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

No branches or pull requests

3 participants