Allow debugging with VSCode

main
Tyler Scott 2022-02-05 07:40:46 +07:00
parent 1603242321
commit 0e1b043467
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ local tau = math.pi * 2
local game = {}
local function load_level(level, bubble_diameter, row_gap)
if arg[#arg] == "debug" then require("lldebugger").start() end
local slots = {}
local bubble_radius = bubble_diameter / 2