To Evaluate AutoLISP Expressions in the Debug Console (AutoLISP/VS Code)

Note: Debugging is not available in AutoCAD LT.

When an instance of the AutoCAD application is attached to VS Code, you can enter and execute AutoLISP expressions in the Debug Console.

  1. In Visual Studio Code, start debugging an AutoLISP source (LSP) file.
  2. On the Activity Bar, click Debug and Run (or click View menu > Debug).
  3. In the Debug Console, at the prompt, enter the AutoLISP statement to execute.


    Note: If the Debug Console window isn’t open, click View menu > Debug Console (or press Ctrl+Shift+Y).