menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Truffle Suite

Sweet tools for smart contracts

Channels
Team

in-test debugging truffle test --debug no transaction id

October 8, 2020 at 12:04pm

in-test debugging truffle test --debug no transaction id

October 8, 2020 at 12:04pm (Edited 1 year ago)
Hi,
I wanted to get the transaction id automatically when I run in-test debugging. ie:
debug(development:0xfa8d2a4d...)>
Instead, I got the following (when I run truffle test --debug):
debug(development)> t <transaction_id>
Therefore I always need to copy/paste the transaction id, which is okay but if I understand correctly, I don't need to with the latest version - which I am currently using.
Truffle v5.1.47 (core: 5.1.47) Solidity v0.5.16 (solc-js) Node v12.16.3 Web3.js v1.2.1
Any tips?

October 8, 2020 at 9:04pm
Hi, could you provide some more information? How is the debugger invoked in your tests?
If you have a reproduction project we could look at that would be great, but my first question is how you're invoking the debugger in your tests