Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 671 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 671 Bytes

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

  1. bench get-app https://github.com/yrestom/Console.git
  2. bench build --app console
  3. bench --site [your.site.name] install-app console
  4. 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