first run and debug