---
title: Windows Unity 디버그하도록 디버깅 툴을 구성합니다.
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/ko-kr/engine/6000.0/manual/platform-specific/windows/develop/debugging/instructions
latest_url: https://docs.unity.com/ko-kr/engine/7000.0/manual/platform-specific/windows/develop/debugging/instructions.md
last_updated: 2026-10-30
generated_at: 2026-11-19T16:16:52.228Z
locale: ko-kr
---

# Windows Unity 디버그하도록 디버깅 툴을 구성합니다.

> Visual Studio 또는 Windows Debugger를 설정하여 Unity 애플리케이션이나 Unity 에디터 디버그합니다.

Windows 디버거(WinDbg) 또는 Visual Studio를 설정하여 Unity 기호를 확인하여 Unity 애플리케이션이나 Unity 에디터를 디버깅할 수 있습니다.

디버깅 툴이 Unity 기호를 확인하도록 이미 설정되어 있고 실시간 디버깅 또는 법인 검사 설정을 알고 싶다면 다음을 참조하십시오.

* [Unity용 실시간 디버깅 설정](/engine/6000.0/manual/platform-specific/windows/develop/debugging/live.md)
* [Unity용 검증 디버깅 설정](/engine/6000.0/manual/platform-specific/windows/develop/debugging/forensic.md)

## Unity 디버그를 위한 Windows 디버거(WinDbg) 설정##set-up-windows-debugger-(windbg)-to-debug-unity

Windows 디버거(WinDbg)가 Unity 스토어 기호를 자동으로 다운로드하고 확인하도록 설정하려면 다음 지침을 따르십시오. WinDbg가 이러한 심볼에 액세스할 수 있는 경우 이를 사용하여 애플리케이션이나 에디터를 디버그할 수 있습니다.

1. 관리자로 WinDbg를 엽니다.

2. **File** > **Attach to process**로 이동합니다. 창에 표시되는 애플리케이션 리스트입니다.

3. 목록에서 디버깅할 애플리케이션을 선택합니다.

   * 에디터를 디버깅하려면 `Unity.exe`를 사용합니다.
   * 빌드된 게임을 디버깅하려면 게임의 .exe 파일을 사용합니다.

4. **첨부**를 선택합니다. WinDbg는 애플리케이션에 연결되므로 몇 분 정도 걸릴 수 있습니다.

5. WinDbg의 **명령** 창에 다음을 입력하여 디버거에 Unity 기호를 추가합니다.
   ```
   .sympath+ SRV*c:\symbols-cache*http://symbolserver.unity3d.com/
   ```

결과적으로 WinDbg는 Unity 에디터 또는 애플리케이션을 디버깅할 준비가 되었습니다.

### 코드에 대한 상세 요약##detailed-breakdown-of-the-code

`.sympath+ SRV*c:\symbols-cache*http://symbolserver.unity3d.com/`

#### .sympath+##.sympath+

`.sympath` 자체는 이전 경로를 덮어쓰는 새로운 기호 경로를 설정합니다. `+` 추가는 기존 기호 경로를 무시하고 기호 스토어 룩업을 추가합니다.

#### SRV*c:\symbols-cache##srv*c:symbols-cache

`SRV`는 가져올 원격 서버를 나타냅니다. `c:\symbols-cache`는 다운로드된 기호를 캐시하는 로컬 경로입니다. WinDbg는 심볼을 검색하기 전에 먼저 해당 경로를 확인하여 동일한 심볼을 여러 번 다운로드하지 않도록 합니다. 이 경로를 시스템의 모든 디렉토리로 변경할 수 있습니다.

#### \*[https://symbolserver.unity3d.com/](https://symbolserver.unity3d.com/)##\*[https://symbolserver.unity3d.com/](https://symbolserver.unity3d.com/)

디버깅 소프트웨어가 가져올 기호 저장소의 URL.

## Unity 디버그를 위한 Visual Studio 설정##set-up-visual-studio-to-debug-unity

다음 지침에 따라 Visual Studio(2019 이상)를 설정하여 Unity 스토어 기호를 자동으로 다운로드하고 확인합니다. Visual Studio가 이러한 심볼에 액세스할 수 있는 경우 이를 사용하여 애플리케이션이나 에디터를 디버그할 수 있습니다.

1. Visual Studio를 엽니다.
2. **도구 > 옵션**으로 이동합니다.
3. **디버깅** 섹션을 펼치고 **심볼**을 선택합니다.
4. 아직 지정되지 않은 경우 캐시 디렉토리를 지정합니다.
5. \*\*추가(+)\*\*를 클릭합니다. 그러면 새 심볼 위치가 **심볼 파일(.pdb) 위치 목록**에 추가됩니다.
6. 새 목록 항목에 `https://symbolserver.unity3d.com/`를 입력합니다.

Visual Studio가 Unity 코드를 디버깅할 준비가 되었습니다.

## 추가 리소스##additional-resources

* [Windows용 Unity 디버깅 가이드](/engine/6000.0/manual/platform-specific/windows/develop/debugging.md)
* [Windows에서 Unity 디버깅 소개](/engine/6000.0/manual/platform-specific/windows/develop/debugging/types.md)
* [Unity용 실시간 디버깅 설정](/engine/6000.0/manual/platform-specific/windows/develop/debugging/live.md)
* [Unity용 검증 디버깅 설정](/engine/6000.0/manual/platform-specific/windows/develop/debugging/forensic.md)
