I wanted to find out if installing vscode from the downloadable .deb file (on Linux) would also add the repository to /etc/apt/sources.list.d.
I ran
sudo strace dpkg -i code_1.89.1-1715060508_amd64.deb > /tmp/codeinstall 2>&1
to look at all the system calls that get executed.
After the install, apt search code does find it, and I see that there is a file vscode.list in /etc/apt/sources.list.d/. Its contents are the Microsoft repository.
I searched the output of strace for anything like vscode.list or sources.list, but nothing came up. I expected to see some command either copy or create the vscode.list file.
So while the motivation for this question is to find out how the package repository file got added, a secondary question is now "how can I read the output from strace to verify whatever the answer is?"
Thank you.