Fixing a few STC glitches.

Change-Id: I38c0a81911e392be0d6e1d392511456b57acf16c
diff --git a/tools/test/bin/stc b/tools/test/bin/stc
index 120d7fd..fe8a5af 100755
--- a/tools/test/bin/stc
+++ b/tools/test/bin/stc
@@ -19,4 +19,5 @@
 
 [ -t 1 ] && stcColor=true || unset stcColor
 
-java -jar $JAR $scenario "$@"
+[ -z "$stcDebug" ] && DEBUG_OPTS=""
+java $DEBUG_OPTS -jar $JAR $scenario "$@"