added Y value check with get_debug_values, note that it only works in test time now.