Port `loc` helper
Port `debugger` helper
Port `log` helper