Issue in 2018.1, when we start debugging it shows message "Cannot start a job in 'debug' mode for a non-development robot"

you have to be connected to orchestrator as a Development robot.