When a Tailscale connection misbehaves, support will ask what is happening on the machine. This command gets you most of the way to an answer.
tailscale bugreport
tailscale bugreport --diagnose
tailscale bugreport --record
The command does not create a file you have to send. According to the Tailscale docs it generates a random identifier and writes it into the diagnostic logs of the client, so the support team can find the right logs. The identifier looks like BUG- followed by a hash and a timestamp. You paste that into your support request, run it on the affected device while the problem is happening.
--diagnose adds extra verbose system information to the logs after the identifier is made. --record pauses so you can reproduce the problem, then makes a second identifier when you press Enter. You share both.
The docs say the identifier itself contains no personally identifiable information, and nothing is used unless you share it. The bug report details are recorded in the client logs, so you can read what was logged there.
The caveat is about privacy and about logging. Logs and verbose diagnostics can still hold details of your network and devices, so think before you use --diagnose on a machine with sensitive setups. If client logging is turned off, no bug report is generated and nothing is sent. The command exists since Tailscale v1.8.
Further reading: Tailscale docs: generate a bug report, Tailscale docs: CLI reference