Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

anyone know how to get debugging working with a regular, command-line only, lua file?


Download Lua 5.1.4 and run the file through that. The debugger doesn't appear to support 5.2 (crashes the target process). You will need something like `io.read("*line")` at the top so the debugger can attach. Once that's done, just attach by going into "Debugger > Processes..." and choosing lua5.1.exe.


ah; you are correct. 5.2 was the issue. once i switched to 5.1.4 debugging worked.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: