Compiling an application for debugging
To compile a stream application for debugging with the Streams Debugger (sdb), you must specify the -g option on the
sc command.
Specifying the -g option when compiling instruments the application for use with
the Streams Debugger and enables debugging of all operators.
See the following example:
sc -g -M sample::WordCount