Added a setDebugResourcePath in ResourcePathHandler.