Debug on edit building