Cosmos.Debug contains common classes and enums that runs on both Windows and Cosmos. The Debugger uses it to receive messages from the debugstub in Cosmos, and Cosmos uses it to compile into the debug stub.
References - The references should be absolutely minimal.....
Because of this extreme care must be take of which assemblies are linked and this assembly should not link in any other Cosmos assemblies.
Cosmos.Compiler.Debug is a bit of misnomer, it should be renamed possibly in the future (Constants? Common?). It is used by: