No you can not do this with NetBeans, I think it is an issue with xdebug. You CAN do this with PhpED (http://www.nusphere.com/products/phped.htm?gclid=CI_bxrXV_K4CFcgntAoddFoR4A) I've used both IDEs for about 2 years each. I can't decide which I like best, PhpEd is lovely, but the browser debug toolbar sucks ass and searching the source code sucks ass. NetBeans is rubbish at debugging your code.
I tried all editors including PHP Storm which has no WebDAV support so it's instantly disqualified for me. Java just puts the nail in the coffin.
For windows I use PhpED which was written in C by a developer who used to work on the PHP source itself. http://www.nusphere.com/products/phped.htm
But out of all IDEs the BEST by far is Coda by Panic for OS X. http://panic.com/coda/
I run a hackintosh JUST for this program.