apache / apache/cordova-electron

how to enable`Electron --trace-warnings ...`

Open
#213 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
135
Forks
60
Avg merge
1d 6h
Merged PRs (30d)
5

Description

I use electron 15.2.0 (with sed -i 's/14.0.0/15.2.0/' node_modules/cordova-electron/lib/build/base.json )

some warning happened

how to enable`Electron --trace-warnings ...`

```
+ cd /Users/z/rmw/rmw
+ cordova run electron --nobuild --trace-warnings
(node:7748) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15. See https://github.com/electron/electron/issues/28511 for more information.
(Use `Electron --trace-warnings ...` to show where the warning was created)
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported `cordova run electron --nobuild --trace-warnings` command with Electron 15.2.0 and inspect how the Cordova Electron CLI launches Electron. Determine whether the warning-tracing option is accepted and forwarded, and document or test the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.