ciao a tutti

ho problemi a debuggare le servlet in netbeans. Ecco quello ceh ho fatto

1 - ho lanciato tomcat in debug mode
2 - ho settato un breakpoint nella servlet
3 - dal menu ho fatto debug/Debug project (myProjectName)

nella console ho questo errore

codice:
org.netbeans.api.debugger.jpda.DebuggerStartException: Connection refused
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.waitRunning(JPDADebuggerImpl.java:354)
        at org.netbeans.api.debugger.jpda.JPDADebugger.attach(JPDADebugger.java:263)
        at org.netbeans.modules.debugger.jpda.ant.JPDAConnect$1.run(JPDAConnect.java:223)

e nella console di debug ho:

codice:
Attaching to localhost:11550
Connection refused.
Anyone can help?

grazie