creates debug menu