When a Debt Agreement is the Best Choice?