From 0e1b043467b82ce92d7eaf01e361b7c99e9b8761 Mon Sep 17 00:00:00 2001 From: Tyler Scott Date: Sat, 5 Feb 2022 07:40:46 +0700 Subject: [PATCH] Allow debugging with VSCode --- main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.lua b/main.lua index fc1792e..218c6ab 100644 --- a/main.lua +++ b/main.lua @@ -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