Debugging methods


#1

How to debug and locally run c3typ javascript method?


#2

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.


#3

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:

  1. In Console, select Tools -> Breakpoint

  1. 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.