debugging single file mode