Graphicslab
Les manuels
Scribus Development Manual
Graphicslab manuals
Debugging
There are three main issues wich you will have to debug in your code:
Syntax errors that block the compilation.
Errors that make your code crash during the execution.
Errors that makes your code misbehave without any error being issued.