satoren / vscode-lrdb

Lua debugger for vscode

Home Page:https://github.com/satoren/LRDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

where does print() show?

stuta opened this issue · comments

commented

Do I need some kind of print command redirect to see print commands in console or output?

This is my launch.json:

{
	"name": "Lua Launch",
	"type": "lrdb",
	"request": "launch",
	"program": "luajit",
	"cwd": "${workspaceFolder}",
	"stopOnEntry": true,
	"useInternalLua": false,
	"args": ["tool/vscode-debug.lua", "${relativeFile}"],
}
commented

All the print statements started to show in debug console after this Lua call:

local file = io.popen("whoami")