Just in case someone else is having trouble with this:
If you try to do remote debugging with a Tomcat running as a service on a Windows box (ok, some of you might stop reading here, fair enough ;-)) using the configuration options
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
(see Tomcat Wiki Developing FAQ)
…and wondering, why you just can’t connect:
Make sure, every -X parameter entered on the Tomcat Service Configuration Panel is on its own line as shown in the screenshot.
Yes, each ON A SEPARATE LINE.
Also, make sure that there is no blank at the end of each parameter line.
And the -X params come first, before the -D parameters.
Any questions?