• Paul Sokolovsky's avatar
    py, unix: Add -v option, print bytecode dump if used. · 6b344d78
    Paul Sokolovsky authored
    This will work if MICROPY_DEBUG_PRINTERS is defined, which is only for
    unix/windows ports. This makes it convenient to user uPy normally, but
    easily get bytecode dump on the spot if needed, without constant recompiles
    back and forth.
    TODO: Add more useful debug output, adjust verbosity level on which
    specifically bytecode dump happens.