Attempt to automatically detect releaseStage from debuggable flag