Set debug to true in cmdgw