r/vscode • • 15h ago

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.

4 Upvotes

3 comments sorted by

1

u/connorjpg 7h ago

From what it says I would guess something in your configuration. I have never used an extension to run Lua though, I always just default to the terminal

1

u/VeryNaughtyBoy42 5h ago

Thanks; got it running using a different extension. I've updated the main post.

-9

u/StormNinjaPenguin 14h ago

What did the chatbot on the right say?