Printing data from python or javascript file to browser console

Hi

As the title says, how can I print to the console from either of the file types.
I’ve tried console.log but that gives an error.
Is it possible in ERPnext?

thanks

frappe.errprint("your message")

frappe.msgprint("your message")

3 Likes

Works perfectly, thanks a lot