Debugging AutoLISP Files (AutoLISP/VS Code)

The AutoCAD program ships with a utility called the AutoLISP Debug Adapter which allows VS Code and AutoCAD to communicate with each other.

Note: Debugging is not available in AutoCAD LT.

Communication between VS Code and AutoCAD is established when either of the AutoLISP debug configurations are used. These debug configurations can be defined by following the steps in To Setup the AutoCAD AutoLISP Extension for Debug.

When an instance of AutoCAD is launched or attached to using one of the debug configurations you can:

Supported VS Code Debug Features

The following is a list of debug features that are supported by the AutoCAD AutoLISP Extension:

VS Code Debug Features Not Supported

The following is a list of debug features that are not supported by the AutoCAD AutoLISP Extension: