dwarfs file share add debug function.