The user implemented a Hilbert curve in Lua using recursion and explored different ways to visualize and debug the code, including using a canvas, printing out the sequence of calls, and adding debug data to each point. The user then created a dedicated space for debug UIs, including a text log, replay-log, and a pannable, zoomable, infinite 2D surface that plots vector commands.