I am using -
Linux Mint 19.3 Tricia.
VS Code Version: 1.41.1
C/C++ Extension Version: 0.26.3
I am working with Nemo. It is using Meson build system.
The way we are currently building the project using command line is -
git clone https://github.com/linuxmint/nemo
cd nemo
sudo apt-get build-dep nemo
dpkg-buildpackage
One thing we do to save time after the initial build and install using dpkg-buildpackage
, is instead run: sudo ninja -C debian/build install
.
Currently we are using gdb
to debug (G_BREAKPOINT()
to set breakpoints). However, it will be great to put breakpoints and press F5
to debug in VSCode.
I have checked makefile project build process just to have an understanding.
My understanding from my research is, we have to configure build.json
, tasks.json
& c_cpp_properties.json
to achieve this.
What can be the solution here?