Add debug and move pdb into secondary links

`pdb` from standard library is not awesome (especially with all these alternatives)