Ethereum transaction debugging in vscode — Ethcode
We are excited to release another update of ethcode, the vscode plugin for Ethereum development. Now debug any transaction of Ethereum network (including main and test networks) in your favourite vscode editor. Ethcode brings you remix transaction debugging tool into vscode.
Ethcode enables transaction debugging in three simple steps.
Step 1: Select your network.
In order to debug a particular transaction, first will you need to select the network in which the transaction was published. In our example, we will debug a transaction that was published to Görli testnet. So we copy a random transaction hash from Görli Etherscan.
Step 2: Debug
Next, we will switch to the debug tab on Ethcode. There we will see an input field to paste the transaction hash we just copied. And click the debug
button to initiate the debug process.
Once the debug process is completed we would see the debug results.
Step 3: Debug with diffchecker tool
Once the debug results are produced one should see the results in a diff viewer in Ethcode debug view. A diff viewer has been added to check differences between various steps.