Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Support for attaching a debugger to a running fuel-core node. The debugger receives a new TCP connection for each started transaction (so for each new VM), and is able to control and monitor it's execution. The TCP connection is then used to transmit linefeed-delimited JSON messages. The fuel-core debug component performs the given commands sequentially and responds to each with a JSON reply. Each command results in exactly one reply.
The debugger is fully programmable. The JSON interface is defined with serde-derive structs, and a Rust library for communicating with the fuel-core debug component is proveded as well. In addition, a CLI interface is proveded as well.
The implementation is still in progress, but feel free to leave comments on the general approach.