add debug tool and gettext lib