---
title: Debugging
slug: world-sdk-guide/debugging
docTags: 
createdAt: 2024-09-02T08:34:13.137Z
---

ZEPETOScript uses Microsoft Visual Studio code and JetBrains Rider tools to help with debugging.

:::hint{type="info"}
📘 Editors

- Microsoft Visual Studio code : [https://code.visualstudio.com/](https://code.visualstudio.com/)
- JetBrains Rider : [https://www.jetbrains.com/rider/](https://www.jetbrains.com/rider/)
:::



The following guide was prepared using Visual Studio Code.

## Importing Visual Studio to Unity Editor

When the Visual Studio Code installation is complete, open Unity editor and go to the External Tools tab under Unity menu → Edit → Preference.



![](https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-sTFpb4oznOHLlKmgaxG5Q-20240904-102421.png)

Select Visual Studio Code on External Script Editor.




![](https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-4VtJxLZWihwtkQ01tUE5x-20240904-102421.png)

## Debugging in Visual Studio

In the Visual Script Code, add Break points to the ZEPETO Script code line you want to debug.



![](https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-S9aoH7IaTZdv6raBQS2Zk-20240904-102421.png)

Play the Unity Editor, and click the ② Start Debugging button under the ① Run & Debug in the Visual Script Code.




![](https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-WJcbXa0gPQ4JGAHF7VmkI-20240904-102421.png)

The Debugger is activated on the code line where the Breaking point is specified.




![](https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-EX5NrEn1s9zwW80Fu2yyx-20240904-102421.png)

## Debugging server code

Press the debug environment tab in the Debug panel with Zepeto Script selected at the top.

Change the debug environment to Zepeto Multiplay Script.



::Image[]{src="https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-c1bRvAKYP3-bwKuKwC2KD-20240904-102421.png" size="82" width="547" height="340" position="center" showCaption="false"}

Click the StartDebugging button to start debugging.




::Image[]{src="https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-1saJP0gJDZWH0raknHY0w-20240904-102421.png" size="82" width="376" height="103" position="center" showCaption="false"}

You can check the debugging by seeing the ZEPETO server logs displayed in the Debug Console panel.


::Image[]{src="https://api.archbee.com/api/optimize/fCt3n1oCa8rgNJ8fw9I2N-kfeT5ZIHKyqk_JpjSU1EQ-20240904-102421.png" size="84" width="532" height="261" position="center" showCaption="false"}

