Debugging Plugin

I'm experimenting with a plugin - any hints on debugging? Are there
logger interfaces I should be working with. I see the CriticalErrors
object in the BaseController class, should I work with that? Will stdout
stderr end up in server log files?

1 comment

Hello,

You can use Loggers class to log your messages into the TeamCity log files.
CriticalErrors is for errors requiring immediate solving, like broken
configuration files and so on.

To debug plugin you can also launch Tomcat with Java debug parameters and
then attach to the Java process from any IDE debugger. With hotswap feature
you'll be able to modify plugin without server restart.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"Chris Morris" <chris.morris@einstruction.com> wrote in message
news:fq7d7b$cl2$1@is.intellij.net...

I'm experimenting with a plugin - any hints on debugging? Are there logger
interfaces I should be working with. I see the CriticalErrors object in
the BaseController class, should I work with that? Will stdout stderr end
up in server log files?



0

Please sign in to leave a comment.