given the lack of debugging facilities in EOS contract development I add print() statements to my code, but I'm finding that only the first one gets printed, so:


prints only one "HERE". am I doing something wrong or is that by design?

1 Answer 1


You're right, I just tested this and on my computer it only show's the first message. However if you check the nodeos logs (and you have the flags --contracts-console --verbose-http-errors), then all of the messages are shown there.

This is a known issue that block.one decided not to fix. You can follow the lack of progress here: https://github.com/EOSIO/eos/issues/5647

  • I have both flags on. I'm finding development on EOS most retrograde, given all the facilities we've become accustomed to in modern environments. thanks for confirming this and glad to have people actually reading this forum
    – ekkis
    Jan 31, 2019 at 18:13
  • Use these flags and it should definitely be readable in the nodeos logs, not in the terminal where you do cleos though. --plugin eosio::http_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --contracts-console --verbose-http-errors Jan 31, 2019 at 18:44
  • I had all of those turned on already. not getting the output on the console just makes an already painful process more so. now I have to refer to the log...
    – ekkis
    Jan 31, 2019 at 21:35
  • and of course, I now need to go find all the print_debug lines and variable number of lines that follow to capture that output. gosh
    – ekkis
    Jan 31, 2019 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.