if you in interactive console try
preferences->pydev->interactive console and flag "connect console to a debug session"
Question
I'm using the PyDev module for Eclipse debugger and I'm not able to debug my code to find out what's the reason of compilation failure! How to debug a code even if there is an error? for example this kind of error
a = 41
b = 'str'
print a + b
Edit: The question is not about the code
Solution
if you in interactive console try
preferences->pydev->interactive console and flag "connect console to a debug session"
OTHER TIPS
you can not conncat int and str:
see this doc pydev debugger