We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a3155b commit f6d1184Copy full SHA for f6d1184
lib/bootstrap-local.js
@@ -45,8 +45,9 @@ if (process.env['DEVKIT_PROFILING']) {
45
process.on('uncaughtException', exitHandler.bind(null, { exit: true }));
46
}
47
48
-
49
-Error.stackTraceLimit = Infinity;
+if (process.argv.indexOf('--long-stack-trace') !== -1){
+ Error.stackTraceLimit = Infinity;
50
+}
51
52
global._DevKitIsLocal = true;
53
global._DevKitRoot = path.resolve(__dirname, '..');
0 commit comments