diff options
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 78b9a36be..8f1b19685 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md | |||
@@ -202,6 +202,8 @@ DEBUG_COLORS=1 DEBUG=Ferdium:* npm run start:all-dev | |||
202 | ``` | 202 | ``` |
203 | 203 | ||
204 | Note: please prefer [`debug()`](https://github.com/visionmedia/debug) over `console.log()`. | 204 | Note: please prefer [`debug()`](https://github.com/visionmedia/debug) over `console.log()`. |
205 | However, due to an [Electron bug](https://github.com/electron/electron/issues/31689), using `require('debug')` directly is dangerous and can lead to data loss in services. | ||
206 | Please use the `src/preload-safe-debug` module instead until the bug gets fixed. | ||
205 | 207 | ||
206 | ### Styleguide | 208 | ### Styleguide |
207 | 209 | ||