Debugging setup
Debug, diagnose, and fix problems in your code.
Read time 1 minuteLast updated 2 days ago
Attach a debugger to the Unity Editor or a Player, and add logging to your code so you can diagnose problems while your application runs.
Topic | Description |
|---|---|
| Set up C# debugging | Track down bugs in your scripts by attaching external debuggers and stepping through your project code as it executes. |
| Troubleshooting debugging | Troubleshoot common problems with attaching to and debugging the Unity Editor or Player. |
| Mark up your code for debugging | Use the Debug class in your project code to write messages and errors to the Console window. |