Console
Console copied to clipboard
Powerful Console for Frappe Backend
Console
Powerful Console for Frappe Backend
It allows you to use the same as the console
statement in Python as it is in JavaScript
How to Install
-
bench get-app https://github.com/yrestom/Console.git
-
bench build --app console
-
bench --site [your.site.name] install-app console
-
bench restart
How to use:
in python file:
from console import console
my_list = ['foo', 4, 5, 'bar', 0.4]
console(my_list).log()
In browser console:
>(5) ["foo", 4, 5, "bar", 0.4]
Supported methods :
log , table, warn, error, info, group, groupEnd, time, timeEnd, debug, trace, count
License
MIT