mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2026-08-24 14:27:05 +07:00
18 lines
413 B
Lua
18 lines
413 B
Lua
if os.getenv('LOCAL_LUA_DEBUGGER_VSCODE') == '1' then
|
|
local debugger = require 'lldebugger'
|
|
debugger.start()
|
|
|
|
local evolved = require 'evolved'
|
|
evolved.error_handler(function(err)
|
|
debugger.requestBreak()
|
|
return debug.traceback(err)
|
|
end)
|
|
end
|
|
|
|
---@type love.conf
|
|
function love.conf(t)
|
|
t.window.title = 'Evolved Example'
|
|
t.window.width = 640
|
|
t.window.height = 480
|
|
end
|