Debug vs. Deploy Code for Business Logic

I spent the day going through two tutorials (below) so I can debug business logic. Great tutorials. Everything worked perfectly, but I am left wondering how Backendless knows what code to run i.e., the debug or deploy code. During development, there are a number of updates to the code in debug before it is deployed. Does Backendless know to run the debug code if CodeRunner is currently running and to run deployed code if CodeRunner is not running?

Tutorial One
https://backendless.com/documentation/business-logic/js/bl_quick_start_js.htm

Tutorial Two

Take care,

Jon

Hi Jon,

If there is a debug coderunner connected to your app, it is given the preference over the deployed (cloud) code.

Regards,
Mark

Very cool. There are a lot of features here that are incredibly useful. Thanks for the quick answer.