Added function to parse extra debug flags
New funtion to add debug flags
Read the README for more information
Added debug option information