Can the C# in-process applications (Macros and Addins) be debugged line by line?

Can the C# in-process applications (Macros and Addins) be debugged line by line?

TIA

SolidworksApi macros