Could anyone suggest the best way to debug plugins? It sounds like there is a way to pass some extra command line parameters to the webserver when it starts up to have a port open ready for incoming debugging connections, and then from Eclipse it should be possible to connect to said port and debug. Has anyone done this? If so could you provide any specific information on how to achieve this? If not, what do people do? Print messages to log files? If so, what is the best way to do this - a colleague here is trying to debug something, and his attempts at printing to the console etc. aren't helping much as it is running under a service, so I said I'd drop a message on here for him, in hope someone might be able to suggest something for him to look at next week.