fix platform core engine to allow hosts entry validation and implementeed debugging