It should be able to remove the directory for debug environment. Keep current behavior with symlink for release environment. 