Add trace flag to pub