debug for sf