Grammar Info

N4 Lesson 8: 8/18

んだけど

But..., And...

Versions without ん/の are also acceptable but ん/の version is more common nowadays.