NetBeans debug session from REST client
===

I frequently use the NetBeans debugger to step through my PHP applications. However, I also want to use the debugger when working on things that do not run in a web browser, per se (specifically a REST API).

Does anybody know how to start a NetBeans debugger session that will allow me to use my REST client as the "browser"?

Misc. info: Mac OS X, CocoaRestClient, NetBeans 7.1.2.