Scalability
Low
UI Action
SN-0151
Debug statements in the production environment can affect performance and potentially cause sensitive data to leak out.
Remove the logging functions entirely, or control their use with a property. At the minimum, switch to using gs.info and gs.debug.
10 min
for (i = 1; i<6; i++) { // Print i to the Output window. Debug.write(“loop index currently is ” + i); // Wait for user to resume. debugger; }
for (i = 1; i<6; i++) { // Print i to the Output window. Debug.write(“loop index currently is ” + i); }