realm-js icon indicating copy to clipboard operation
realm-js copied to clipboard

Publish debug pre-builds for Node.js

Open kraenhansen opened this issue 1 year ago • 0 comments

Problem

We have other teams at our organisation and potentially external users experiencing crashes, that would benefit from consuming the SDK via debug prebuilds.

Solution

This is supported in prebuild and prebuild-install, if we include the configuration in the remote_path of our binary property.

Users would be able to select the debug prebuild by setting npm_config_debug environment to true either via their terminal or before installing using the NPM CLI:

npm config set debug=true

Alternatives

We could add instructions in the issue template helping users to produce properly symbolicated stack traces on crashes.

How important is this improvement for you?

  • select --

Feature would mainly be used with

  • select --

kraenhansen avatar Feb 12 '24 14:02 kraenhansen