diff --git a/node.gyp b/node.gyp index 5b97d580d53767..97f9166272de7e 100644 --- a/node.gyp +++ b/node.gyp @@ -344,6 +344,9 @@ # we need to use node's preferred "darwin" rather than gyp's preferred "mac" 'PLATFORM="darwin"', ], + 'xcode_settings': { + 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym', + }, }], [ 'OS=="freebsd"', { 'libraries': [