Check CLI parameters and print debug info