IPC Plugin debug prints

Hey there!

Is there a way to print to the KiCad debug console from an IPC plugin?

I have this console and it seems like a print is not added here, at least not when the code is run from within KiCad:

image

Is there maybe a API print or so? I was unable to find something like this in the examples available. Thank you