Debug in a seperate file

Sometimes I want to debug a specific component, Is it possible to debug this to a seperate file, instead of the default logbook file? It’s easier to debug then