Running Love2D debugging consile inside VScode

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
entua
Prole
Posts: 3
Joined: Sun Oct 17, 2021 6:32 pm

Running Love2D debugging consile inside VScode

Post 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.
User avatar
veethree
Inner party member
Posts: 874
Joined: Sat Dec 10, 2011 7:18 pm

Re: Running Love2D debugging consile inside VScode

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests