A standalone debugger for Ethereum contracts. Give it a transaction hash, the output from solcjs, and the sources for the contracts, and it'll produce a single javacript-enabled HTML file to allow you to step through contract execution.
npm install ethereum-debugger
import {dumpTransactionTrace} from 'ethereum-debugger'
var txHash = doSomeStuff()
dumpTransactionTrace(
txHash,
web3.currentProvider,
{
solcOutput: outputFromSolcJs, // The output from running solc-js - your build framework may save this as json somewhere
sources: {'MyContract.sol': 'pragma solidity ...'}, // An object mapping source file names to their contents - if not present, will use metadata from solcOutput
findImport: findImport // Optional, but useful if you used solc-js's findImports functionality
},
'debug/' + txHash + '.html' // Where to save the new file
)
Coming Soon!