debug info

Hi. how to enable debug info of current properly when i press button “L” and disable when i press again button “L”?

You can’t. But you can print own logging messages to the console.