ZEPETOScript uses Microsoft Visual Studio code and JetBrains Rider tools to help with debugging.
Editors
- Microsoft Visual Studio code : https://code.visualstudio.com/
- JetBrains 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.
![3-5-1.png 1420](https://files.readme.io/9710b31-3-5-1.png)
Select Visual Studio Code on External Script Editor.
![3-5-2.png 1435](https://files.readme.io/6806683-3-5-2.png)
Debugging in Visual Studio
In the Visual Script Code, add Break points to the ZEPETO Script code line you want to debug.
![debbuging-1.png 2880](https://files.readme.io/606f8e2-debbuging-1.png)
Play the Unity Editor, and click the ② Start Debugging button under the ① Run & Debug in the Visual Script Code.
![debugging-2.png 2880](https://files.readme.io/8bc7418-debugging-2.png)
The Debugger is activated on the code line where the Breaking point is specified.
![debugging-3.png 2880](https://files.readme.io/30ad024-debugging-3.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.
![스크린샷_서버디버그3.png 547](https://files.readme.io/52d99b5-_3.png)
Click the StartDebugging button to start debugging.
![스크린샷_서버디버그4.png 376](https://files.readme.io/b46f6da-_4.png)
You can check the debugging by seeing the ZEPETO server logs displayed in the Debug Console panel.
![스크린샷_서버디버그5.png 532](https://files.readme.io/182170f-_5.png)