polygon debug