Better Error Messages in Theia

Is there a way to get more helpful error messages in Theia? Most of the ones I see when an extension throws an error is just a series of paths, so I can se where the exception is thrown, but I se no actual message to tell me what went wrong.

When printing a caught error, the output might look like this:

root INFO …/packages/user-event-log/lib/browser/user-event-log-contribution.js/UserEventLogContribution.prototype.getOrCreateUserID@http://localhost:3000/87.bundle.js:397:22 …/packages/user-event-log/lib/browser/user-event-log-contribution.js/UserEventLogContribution.prototype.onStart@http://localhost:3000/87.bundle.js:371:14 _loop_3/</<@http://localhost:3000/bundle.js:31678:155 …/node_modules/@theia/core/lib/browser/frontend-application.js/FrontendApplication.prototype.measure/</<@http://localhost:3000/bundle.js:31757:46 step@http://localhost:3000/bundle.js:31251:23 verb/<@http://localhost:3000/bundle.js:31232:53 …/node_modules/@theia/core/lib/browser/frontend-application.js/awaiter</<@http://localhost:3000/bundle.js:31226:71 …/node_modules/@theia/core/lib/browser/frontend-application.js/awaiter<@http://localhost:3000/bundle.js:31222:12 …/node_modules/@theia/core/lib/browser/frontend-application.js/FrontendApplication.prototype.measure@http://localhost:3000/bundle.js:31749:16 _loop_3/<@http://localhost:3000/bundle.js:31678:69 step@http://localhost:3000/bundle.js:31251:23 verb/<@http://localhost:3000/bundle.js:31232:53 step@http://localhost:3000/bundle.js:31236:139 verb/<@http://localhost:3000/bundle.js:31232:53 fulfilled@http://localhost:3000/bundle.js:31223:58

[original thread by NicholasStenbeck]

For development mode you can call theia build --mode development to avoid optimizing the bundled code

[NicholasStenbeck]

Thank you, I will try this