When Debug mode is on, you’ll interactively build your data flow with an active Spark cluster. The session will close once you turn to debug off in Azure Data Factory. You should be aware of the hourly charges Azure Databricks incurred when you have the debug session turned on.