seprate debug mode and product mode
add debug settings
Merge branch 'master' into develop