pdb plugin: move entering pdb into a toplevel function
pdb plugin: move entering pdb into a toplevel function

this prepares pdb at collect time

jaraco/pytest,Bachmann1234/pytest,txomon/pytest,pfctdayelise/pytest,abusalimov/pytest,ddboline/pytest,ojake/pytest,etataurov/pytest,tareqalayan/pytest,doordash/pytest,tomviner/pytest,pytest-dev/pytest,The-Compiler/pytest,JonathonSonesen/pytest,chiller/pytest,tomviner/pytest,icemac/pytest,untitaker/pytest,RonnyPfannschmidt/pytest,ojake/pytest,rouge8/pytest,omarkohl/pytest,ghostsquad/pytest,vodik/pytest,inirudebwoy/pytest,rouge8/pytest,ionelmc/pytest,skylarjhdownes/pytest,takluyver/pytest,gabrielcnr/pytest,MengJueM/pytest,pelme/pytest,Bjwebb/pytest,Carreau/pytest,MengJueM/pytest,doordash/pytest,bukzor/pytest,Carreau/pytest,Haibo-Wang-ORG/pytest,userzimmermann/pytest,The-Compiler/pytest,mhils/pytest,mhils/pytest,ericdill/pytest,ghostsquad/pytest,lukas-bednar/pytest,Bachmann1234/pytest,hackebrot/pytest,mbirtwell/pytest,vodik/pytest,inirudebwoy/pytest,nicoddemus/pytest,oleg-alexandrov/pytest,icemac/pytest,bubenkoff/pytest,malinoff/pytest,mdboom/pytest,hpk42/pytest,omarkohl/pytest,abusalimov/pytest,mdboom/pytest,nicoddemus/repo-test,chillbear/pytest,chillbear/pytest,MichaelAquilina/pytest,tgoodlet/pytest,pelme/pytest,Akasurde/pytest,hunse/pytest,ericdill/pytest,eli-b/pytest,codewarrior0/pytest,markshao/pytest,oleg-alexandrov/pytest,ionelmc/pytest,hunse/pytest,nicoddemus/repo-test,alfredodeza/pytest,gabrielcnr/pytest,nicoddemus/pytest,bubenkoff/pytest,flub/pytest,jb098/pytest,lukas-bednar/pytest,vmalloc/dessert,untitaker/pytest,davidszotten/pytest,rmfitzpatrick/pytest,userzimmermann/pytest,wfxiang08/pytest,chiller/pytest,hpk42/pytest,bukzor/pytest,mbirtwell/pytest,Bjwebb/pytest,ropez/pytest,jb098/pytest,ropez/pytest,Haibo-Wang-ORG/pytest,takluyver/pytest,codewarrior0/pytest,JonathonSonesen/pytest,wfxiang08/pytest