diff --git a/src/main/java/org/codehaus/mojo/gwt/shell/DebugMojo.java b/src/main/java/org/codehaus/mojo/gwt/shell/DebugMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/codehaus/mojo/gwt/shell/DebugMojo.java
+++ b/src/main/java/org/codehaus/mojo/gwt/shell/DebugMojo.java
@@ -23,6 +23,7 @@ import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.MojoFailureException;
 import org.apache.maven.plugins.annotations.Mojo;
 import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.plugins.annotations.ResolutionScope;
 
 /**
  * Runs the project with a debugger port hook (optionally suspended).
@@ -30,7 +31,7 @@ import org.apache.maven.plugins.annotations.Parameter;
  * @author cooper
  * @version $Id$
  */
-@Mojo(name = "debug")
+@Mojo(name = "debug", requiresDirectInvocation = true, requiresDependencyResolution = ResolutionScope.TEST)
 public class DebugMojo
     extends RunMojo
 {
DebugMojo @Mojo must redefine all parameters

@Mojo annotation does not support inheritance of its parameters.