add debug message to static file
add debug message to static file