For the burning: Then you need to put the commands in a file and then use the source command in combination with the 'do not run mode'.
For the run command: I see no remote debugging commands, so I guess you've not set them and you're in native/local debugging mode, thus run is the normal command to use.