I don't think that you can put the debug options as arguments to the service
command.
Assuming you installed the standard tomcat7
package using yum
, edit the file /etc/tomcat7/tomcat7.conf
and add this line in it:
JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
Then restart the Tomcat service.