This is some concept you can work around without attach and debug around :
Revit AddinManager update .NET assemblies without restart Revit for developer.
4 . Attach to a process is good just in case you are opening Revit and the process is test for sometime need, but it's not high recommend for this case