Unable to start job in debug mode for non-development Robot

How to resolve debugging any process on UiPath Studio shows error "Can not start job in debug mode for non-development robot" ?

Description

Solution:

For running the workflow in debug mode, when connected to Orchestrator, the Robot should be provisioned with type Development. Starting a job in 'debug' mode for a non-development robot.
To change the Robot type in Orchestrator, follow the steps below:- 

  1. Login to Orchestrator website.
  2. Go to Robots page.
  3. Find out your robot and edit the same.
  4. Change the "Type" to "Development". 
  5. Click on "Update".