When using the %debug feature in databricks notebook, if the user forgets to cancel this command manually then it will continue to run until it is noticed or the cluster is manually terminated

Ashwini Gaikwad 130 Reputation points
2025-05-14T08:49:11.4733333+00:00

Hello Team,

When using the %debug feature in azure databricks notebook, if the user forgets to cancel the command manually then it will continue to run for more than half hour or 3 days until it is noticed or the cluster is manually terminated. This behaviour leads to additional costs for the cluster.

Request you to please assist in this case, how this feature is auto-terminated after 30 mins let's say without manual intervention or are there any alternatives for it?

User's image

User's image

Regards,

Ashwini Gaikwad

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,514 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.