debug why a file is imported

I get a compilation error from a ts file that shouldn't be imported. How can I debug the import chain to see all the files that led to this file's import statement?
Was this page helpful?