create contract debugging