Debug docker container

Hi,

there is an Issue in the jellyfin project that's bothering me and I'm pretty sure I know where to look for to fix it.

The problem is that I can't reproduce the bug locally, so I'd like to debug my production jellyfin instance that's running as a docker container (or duplicate it for testing).

Is that doable? If yes, can someone point me in the right direction on how to do this? If not, what would be the best approach?

I know C# and how to debug in general, I just never had to do much remote debugging, let alone something involving docker.

7 points · 2 comments · view on lemmy.world

2 Comments

PriorProject@lemmy.world · 1 pts · 3y

I don't have a "good" answer to your question, though I will say that waiting at the end of the list of idiomatic answers you may not be familiar with is Console.WriteLine and a debugging docker container that you build yourself.

Likely there are better ways, and likely this is already obvious to you. But this option requires very little external support if it's sufficient.

KLISHDFSDF@lemmy.ml · 1 pts · 3y

Try the Jellyfin Matrix room [0] if you don't get an answer here. You may have more luck as the room has nearly 7k members.

[0] https://matrix.to/#/#jellyfin:matrix.org