This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
[Linux] Please add documentation and Grunt support for doing debug build of brackets-shell #6762
Open
Description
As far as I'm aware, there appears to be no Grunt support for doing debug builds (i.e. producing a Brackets binary which contains debug symbols), at least not on Linux.
Also there appears to be little documentation on how to do a debug build manually.
From my own experiments building for Linux I've found the following:
$ ln -s Release Debug # to allow linking
$ grunt setup # setup build system
$ make BUILDTYPE=Debug CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0' # or similar, manually build Debug version
$ ../brackets/tools/setup_for_hacking.sh out/Debug # setup Brackets UI
i.e.
- please add (or at least document the need for creating) the symlink from Debug to Release to allow linking
- It would be nice to have Grunt build-* and copy tasks understand debug builds
- In any case, better documentation on doing debug builds would make it a bit easier for other developers to get started working on brackets-shell :-)