diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2020-04-22 10:29:15 +1000 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-05-29 04:24:18 +0000 |
commit | e69b15634ca7b115d78faf06e0ec50d6e9cb0b8f (patch) | |
tree | 35eb7db28af6d87e456e0d20ebe9eedbca131734 /mkspecs | |
parent | cb34e4361dcf7effb3b8e917df7e68b7fdd255b7 (diff) |
wasm: add more debugging information
This also fixes source maps not getting created in debug mode.
Fixes: QTBUG-83607
Change-Id: I3ed388c4fef6c286fa452a1c700fa65c2a8f9529
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit bc380b242d758fd0342f50ea882272c14fed9db8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/wasm-emscripten/qmake.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf index a1880b4c22..2b108a5e90 100644 --- a/mkspecs/wasm-emscripten/qmake.conf +++ b/mkspecs/wasm-emscripten/qmake.conf @@ -53,9 +53,10 @@ EMCC_COMMON_LFLAGS_DEBUG = \ # -s SYSCALL_DEBUG=1 \ #print out sys calls, verbose # -s FS_LOG=1 \ #print out filesystem ops, verbose # -s SOCKET_DEBUG \ #print out socket,network data transfer - -s GL_DEBUG=1 + -s GL_DEBUG=1 \ + --profiling-funcs -QMAKE_LFLAGS_DEBUG += -g +QMAKE_LFLAGS_DEBUG += -g4 QMAKE_LFLAGS_RELEASE += -O2 QMAKE_COMPILER += emscripten |