Improve script usage : debugging

I started on improving the great Action “Debug” https://actions.getdrafts.com/a/15d to a first alpha versino
See:
eu.42sol: install _js/debug_logilfe.js On https://actions.getdrafts.com/a/1a4

Feedback and contributions welcome

I didn’t even know this was a thing until just now. Thank you for sharing! I’ll take a look at your changes as well and get back to you with feedback if I have anything

@agiletortoise hinted me to the manual.

There is a require(logging.js) function that uses scripts from the iCloud Folder Drafts/Library/Scripts (with the example Drafts/Library/Scripts/logging.js

So that is the place to create the files to :wink: