trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.31k forks source link

New feature: Visual debugger for Truffle Dashboard #6058

Closed eggplantzzz closed 1 year ago

eggplantzzz commented 1 year ago

This PR implements a visual debugger in Truffle Dashboard.

To test this, check out the branch and build everything with yarn bootstrap. In packages/dashboard run yarn start:server and yarn start:react in two separate terminals. In a browser navigate to localhost:3000. Then click on the Debugger tab on the left to access it.

You can then connect MetaMask to the network where the tx you want to debug exists. Ensure you have the necessary compilations saved in your browser (see the Gist linked below for more details on this) and paste the tx hash in the input field.

See this Gist on getting compilations saved in the browser.

cliffoo commented 1 year ago

(reminder to squash then merge)