refactor(projects): cleanup comments, add more `debug` statements (#10953)