To debug with Visual .NET:
Compile a Debug version of your plug-in and then start Softimage.
In Microsoft Visual .NET, click DebugAttach to Process.
In the Attach to Processes dialog box, find XSI.exe in the list of Available Processes.
Click XSI.exe and then click Attach.
Set some breakpoints and start debugging.