如何debugging与docker运行的Elixir应用程序?
用这种方法可以debugging:
require IEx; defmodule Example do def double_sum(x, y) do IEx.pry hard_work(x, y) end defp hard_work(x, y) do 2 * (x + y) end end
但是,如果在Docker中使用其他microservices
(如db,cache,worker等)通过docker-compose
运行程序,它甚至不会停止设置breakpoint
。
- Visual Studio代码 – 如何远程debuggingDocker容器中的Python代码
- 在生产中debuggingdocker + gunicorn应用程序的替代scheme
- 如何确定为什么sigterm被发送到在mesos的docker容器内处理运行?
- 如何在交互模式下运行docker-compose容器,以便其他容器可以看到它?
- Docker Windows Nanoserver容器中的Visual Studio 2017远程debugging器无法启动
- debugging远程主机上的Docker容器上运行的NodeJs应用程序的最佳方式是什么?
- 使用适用于Docker的Visual Studio工具部署和debugging远程Linux Docker容器
- 在Visual Studio 2017+中debugging多个Web Docker容器
- 在Docker容器中debugging带有环境的Django项目