Tech Tip: Using the Debug Feature in FeatureScript
One of the most useful features for troubleshooting FeatureScript code is the debug function. Let’s take a look at how to use it!
Debug is very easy to use. First, simply add a new line to your Feature Studio and type
debug (context, value);
AUTHOR: Cody Armstrong , Onshape blog