Being able to edit code and have the changes immediately reflect in the container is great. It allows you to have the container do the real work of running the application and code, while you still have the flexibility and power of your favorite editor on your laptop.
But when it comes time to debug code – and let's face it, all code has to be debugged at some time – what do you do?
In this episode, you'll see the first option that you have for debugging code in a running container. Specifically, you'll see how to attach a debugger to code that is already running inside the container, so that you can maintain the application state and figure out what is causing the problem.