Information on the use of ghostwriter and the main project

I want to know if ghostwriter can read the code and the content for example of my main.cs when I deploy a replit I say this because I need to see the error in the main.cs but it tells me to paste all the context and I can’t because my main.cs has more than 800 lines of code.

Does Debug not work for this?