Fix studio: create new task directory if it don't exists yet, and verify ids
Fix save of debug informations