tomcatStartWarDebug task is almost identical to appStartWarDebug task. There’s only one difference: tomcatStartWarDebug forces Gretty to ignore the value of gretty.servletContainer and run on Tomcat.
gretty.servletContainer