Explain debug and rootDir