How can you build and run from VSCode?


A while back I saw a video where a guy was using vscode to do the programming of a defold project and he had created a task to perform the build and run of the game. I can’t remember what command was called to perform the build/run and I can’t find the video.

Does anyone have any idea how to do this?


We provide a command-line tool for building and bundling:


Here is a bob build script I’m currently using in production


Thanks for the help :slight_smile:


The script that is posted here allows you to create a build for various platforms (is this not included in the editor initiated builds?), but is there anyway to run (test) your program from outside the defold editor?


Some global Hotkeys to build and run from editor maybe? or some service to send commands to editor?


I think this is possible but I’ve never tried it. Maybe build with compression off, copy dmengine.exe or whatever into place and then run it with command line options?