Any way to execute an arbitrary function in the debugger?

f8 brings up the console which provides debugging facilities.

One thing I'm looking for and can't find... Is there any way to call an arbitrary function / method while the debugger waits on a breakpoint?
You can type code in the console, then press enter to execute it. The result will be displayed right below it.

Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-execute-an-arbitrary-function-in-the-debugger.84879/