Debuging Test Files in Netbeans

How do I debug test files in Netbeans?

When I Right Click > Debug File, the test runs successfully, but Netbeans can connect to xdebug.

I can confirm that debugging works in the normal Debug Project.

Is it even possible to debug a test file? If no, are there any alternatives?

Also, how do you debug your project?

Thanks!