debugging output for SQL intergration

fix #4