add publish debug switch
- merge forced by github