Well I think the option management in compiler plugin is not flexible enough for this. There's no way to say that options are mutually exclusive or that an option of the compiler imply an option of the linker. I think the linker /debug flag is set when you compile in debug (-g) but I'm not sure.