I'm having trouble with xcode-build-server and include paths and in order to debug, I'm wondering how to get a list of all include paths for C/c++ that sourcekit-lsp detects?
If you are using SourceKit-LSP from Swift 6, you can read the SourceKit-LSP logs as described here: sourcekit-lsp/CONTRIBUTING.md at main · swiftlang/sourcekit-lsp · GitHub
That might help you figure out what’s going wrong.
@ahoppen I'm not finding any useful information in that log
Could you file an issue at Issues · swiftlang/sourcekit-lsp · GitHub with the information you can provide?
I'm using a build server (xcode-build-server) so I'm not sure whether it is a problem with sourcekit-lsp.