#Purpose or functionality of .devcontainer.json file

1 messages · Page 1 of 1 (latest)

queen wave
#

Hi Team,

When we create ballerina project using bal new command, it generates a file with name .devcontainer.json.
What is the purpose of this file?
Do we need to commit to version control repo ?

Thanks,
Milinda

soft dock
#

When you use devcontainer instead, you don't have to install ballerina locally. Instead use the ballerina container to do the developments (it's like mounting the project sources to a container while the container has required dev tools installed)

#

Committing that is up to you. If you think another member or you are going to use devcontainers to develop the project, then committing that will be a good idea