How to debug Teal in VSCode? #663
-
Do I need to compile teal into Lua and then use the Lua debugging extension in VSCode? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
No idea how the vscode extension works but that sounds like one way. Any debugger that puts the debug statements directly in the code probably works out of the box (with a .d.tl file to tell teal what is inside such a library) |
Beta Was this translation helpful? Give feedback.
-
I am able to debug Teal code from VSCode with this extension: https://github.com/tomblind/local-lua-debugger-vscode You need to add the |
Beta Was this translation helpful? Give feedback.
No idea how the vscode extension works but that sounds like one way.
Any debugger that puts the debug statements directly in the code probably works out of the box (with a .d.tl file to tell teal what is inside such a library)