Page 1 of 1

Running Love2D debugging consile inside VScode

Posted: Sun Oct 17, 2021 6:37 pm
by entua
Hey,

I've installed Visual Studio Code and the Love2D support plugin. In the plugin settings, it's possible to enable a debugging console to open in a separate window every time the game is run from VScode.

However, I was wondering: is it possible to run Love2D debugging console inside VScode, in the bottom debugging console that's built into the editor. I tried testing it and running the game with some print() commands - the built-in console stays empty.

Perhaps, some additional plugin can help?

Thanks.

Re: Running Love2D debugging consile inside VScode

Posted: Wed Oct 20, 2021 9:14 pm
by veethree
I'm on linux, I just run the game from the console on the bottom with the "love path/to/game" command and it prints out to it as expected. I'd imagine the same goes for other operating systems. The Getting started page on the wiki covers how to run games from the command line on windows, linux and mac os.