What is "a command"?
Don't think there are any easy solutions.
Being thrown into new, large systems during many years, before Internet and helpers, inventions was the only way.
Use serial monitor and strategic Serial.println in the code that show things inside the code, data received......