Setting up the working xdebug on a virtual guest is the same as setting up the debug for the remote server.
[Solved] Netbeans Running Very Slow or Hang
It happened once or twice that when I was opening many files and projects simultaneously the Netbeans IDE started to become irresponsive.