Skip to content

Files

Latest commit

a4639ef · Nov 29, 2021

History

History
19 lines (10 loc) · 661 Bytes

File metadata and controls

19 lines (10 loc) · 661 Bytes

Interactive Debugging

The Brownie interactive flag allows for extra convenience with debugging and development of smart contracts. When a test fails, it drops you right on a console at the exact point of failure with access to all relevant variables.

INTERACTIVE DEBUGGING MODE

When a test fails, open a console and interact with any variables at the point of failure.

    > brownie test --interactive
    > brownie test -I

STRATEGY EXCLUSION

Pass the exclude flag to filter an object, iterable or callable

    > strategy(strategy_type, excludes=...)