How to make a breakpoint at __getitem__ inside Dataloader

I made a breakpoint at getitem inside Dataloader but got

ValueError: I/O operation on closed file

Hi fangyh, Could you please share a code snippet to reproduce the error?

I used print instead.