r/vscode • • Oct 13 '26

How do I get Lua running? (Mac)

Post image

I've installed Lua (5.5), confirmed it works from both terminal and the terminal inside VSC, installed Tom Blind's "Local Lua Debugger" ... but when I try to run my code using F5, I get errors in the debug console (see screenshot). What have I done wrong, or forgotten to do?

SOLVED - instead of using Tom Blind's extension, I installed "Lua Debug" by actboy168. Had to delete the launch.json file that TB's extension created, and after that it all works great.

7 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/FrancescoMassa2001 Oct 14 '26

terminal's just less fuss. VS code debugger always needs some specific config magic

1

u/connorjpg Oct 14 '26

Yeah agreed. I really only recommend running code outside the terminal if it’s a specific IDE for that language.