add debug view file
add debug file to main file
add environment user variable