Should be fairly straightforward, at least for the hxcpp-debugger. All it needs is a `set var = value` or even `set obj.field = value` command.