# Dockerfile
# Add the necessary debug configurations to your Dockerfile
# Example: exposing a debug port and installing debugging tools
FROM your_base_image
# Install debugging tools if needed
RUN apt-get update && apt-get install -y your_debugging_tools
# Expose the debug port
EXPOSE <debug_port>
# Rest of your Dockerfile commands
# Build your Docker image
$ docker build -t your_image_name .
# Run your Docker container with debug options
$ docker run -p <debug_port>:<debug_port> -e DEBUG=true -d your_image_name