Print current value of missing variables during manual testing - Clarity Smart Contract

27 Views Asked by At

Is it possible to print the current value of variables during manual testing to see how they are behaving?

I mean during manual testing in the clarinet console or do I have to add something like (ok variable_name) at the end of the function?

1

There are 1 best solutions below

0
On

You can use the print function for this: https://docs.stacks.co/docs/clarity/language-functions#print