How do you connect databricks notebook with IntelliJ remote debug mode?

User16752246494
Databricks Employee
Databricks Employee

Does anyone know how to debug notebook code using IntelliJ or is there any other tool for it?

like debugging in Spark cluster using

export SPARK_SUBMIT_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005

are there any similar settings like this?