When editing a module, scroll to the bottom.
Thanks, hiding in plain sight :-)
BTW it appears that functions you've declared outside of the export can't be called from the debug console, regardless of whether they're declared local? That's too bad.