A problem that occurs during execution of an application is debugged by building a lightweight container image and an enhanced container image. Data traffic for debugging is selected and the selected data traffic is copied using an enhanced copy. The problem is debugged using the enhanced container image and the selected data traffic.