This is a script that adds functionality for drawing debug shapes. Written in C#, so only Godot Mono supported. Works in the game and in the editor.
1. Copy "addons/debug_draw_cs" to your addon folder, create it if the folder doesn't exist.
2. Rebuild project.
3. Add "addons/debug_draw_cs/DebugDraw.cs" to your project as autoload singleton.
4. (Optionally) Enable the "Debug Draw For Editor" plugin to enable debug drawing support inside the editor.
For more info click on "View Files"