Use the console Sources tab and then copy paste function into a new snippet and run the snippet. Then call the function locally from the console.
You can also define breakpoints in Console and then step through the code. This avoids the need to copy/paste functions and allows you to more easily debug what has been provisioned. To set a breakpoint:
- In Console, select Tools -> Breakpoint
- Specify the Type and Action you want to step through
When you invoke the function from Console, be sure to step into the function calls until you reach the action specifies in Step 2. Once you are in the function, you can set additional breakpoints.