I tried below patch and I got debug package for node. I am not sure do I need to dump the revision.
Could this be included in the ports tree? On Tue, Nov 05, 2024 at 02:49:18PM +0000, Mikolaj Kucharski wrote: > Hi, > > Could node-js have debug symbols enabled? I am facing some random, rare > node-js process crashes and I would like to be able to provide more > information, than what I have so far. > Index: Makefile =================================================================== RCS file: /cvs/ports/lang/node/Makefile,v diff -u -p -u -r1.141 Makefile --- Makefile 4 Nov 2024 10:52:40 -0000 1.141 +++ Makefile 7 Nov 2024 19:32:49 -0000 @@ -65,6 +65,8 @@ CONFIGURE_ARGS = --prefix=${PREFIX} \ --shared-openssl-libpath=${EOPENSSL_LIB} \ --shared-openssl-includes=${EOPENSSL_INC} +DEBUG_PACKAGES = ${BUILD_PACKAGES} + SUBST_VARS += DISTNAME SUBST_VARS += WRKDIST SUBST_VARS += NODE_VERSION -- Regards, Mikolaj