When you right click on local variable, an option to add this variable inside the state apps so you can see it value in the wallet without having to really send the transaction?
I click on $myvar, it creates in all app state: var['myvar'] = $myvar; // for debugging purpose.
can be done manually, but i just did it for all my variables, it takes a lot of copy paste