ra2l1 printf

Hi I want to ask something to help my friend working on ra2l1 as a project.

He wants to see a buttons threshold value but the problem is ,

He can see it on graphics or with help of debug menus but he wants to see it in console as a code .

Like printf(button3 threshold value) I couldn't find anything about it not spesificly releated to this .

I would be much appreciated if you can show me the way or a solution thanks