Debug bitcoin script step by step


(Eggsa) #1

I would like to create a bitcoin script debugger based on the bitcore lib with JavaScript. However, it does not seem that this is supported by the public API. What is the best approach to execute a bitcoin script step by step and read the current op code and stack frame after each step?