From 87298db0eca2a6b5407b8b8493610758b974b06c Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 5 Aug 2021 16:01:46 +0100 Subject: [PATCH 1/2] fix import --- packages/app-desktop/plugins/GotoAnything.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-desktop/plugins/GotoAnything.tsx b/packages/app-desktop/plugins/GotoAnything.tsx index 55aabd1cd..9183b8aac 100644 --- a/packages/app-desktop/plugins/GotoAnything.tsx +++ b/packages/app-desktop/plugins/GotoAnything.tsx @@ -18,7 +18,7 @@ const { surroundKeywords, nextWhitespaceIndex, removeDiacritics } = require('@jo const { mergeOverlappingIntervals } = require('@joplin/lib/ArrayUtils.js'); import markupLanguageUtils from '../utils/markupLanguageUtils'; import focusEditorIfEditorCommand from '@joplin/lib/services/commands/focusEditorIfEditorCommand'; -import Logger from '../../lib/Logger'; +import Logger from '@joplin/lib/Logger'; const logger = Logger.create('GotoAnything'); From b3ce5fbc48856d0f03a63952bfb536598d708df0 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 5 Aug 2021 16:04:08 +0100 Subject: [PATCH 2/2] Doc: Added debug info --- readme/debugging.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme/debugging.md b/readme/debugging.md index 09c5101cd..87ebd2663 100644 --- a/readme/debugging.md +++ b/readme/debugging.md @@ -4,6 +4,10 @@ It is possible to get the apps to display or log more information that might hel ## Desktop application +If the application starts with a white screen, open **View > Toggle Developer Tools** in the menu. Then check in the console if there is any error or warning and please let us know about it. + +Otherwise, follow these instructions: + - Click on menu **Help > Open Profile Directory** and add a file named "flags.txt" in your directory with the following content: `--open-dev-tools --debug --log-level debug` - Restart the application - The development tools should now be opened. Click the "Console" tab