Procedure Builder - How to Break an Execution After a Given Step

When debugging a specific step in a procedure, if you would like to force the procedure to exit, throw an error in a script step immediately after the step you are debugging.

throw new Error('exit');