Here are some sample answers to the questions presented in this chapter:
- Possible answers: a) Volume mount your source code in the container; b) use a tool that automatically restarts the app running inside the container when code changes are detected; c) configure your container for remote debugging.
- You can mount the folder containing the source code on your host in the container.
- If you cannot cover certain scenarios easily with unit or integration tests and if the observed behavior of the application cannot be reproduced when the application runs on the host. Another scenario is a situation where you cannot run the application on the host directly due to the lack of the necessary language or framework.
- Once the application is running in production, we cannot easily gain access to it as developers. If the application shows unexpected behavior or even crashes, logs...