Updated labeling workflow to latest api and provide it as a project option for debug mode.