Error output for plugins

Hi everyone!

Here a little question, is there an error console for plugins? When I do something wrong on a script the console show me some hints and is very useful for me. There is something similar for plugins development?

The output from plugin goes to the Macro window or to the system