The problem here is that we need handle to the debug object which we don't have and don't have. And I haven't found how to get a handle to it either.
NtCreateDebugObject we already have a context object (for debugger) in server, it shouldn't be too hard to implement it that way. A+