Properly read the debug code and try to isolate what and where the problem may be from it.
Most errors that are made are easily solved by checking this code and are usually syntax errors or similar "human" errors.
If you cannot solve the problem via the debug code, then try and look at areas in the code related to the problem and check for common errors.
If you are past this stage then it may be a larger or more specific problem. Approch using trial and error to change possible problems could help.
If the problem is still not isolated then help can be found in many online forums and python help pages.
Hope this helps!