Add debug and move pdb into secondary links

`pdb` from standard library is not awesome (especially with all these alternatives)
Merge pull request #265 from techtonik/patch-1

Add debug and move pdb into secondary links