add debug with spark config