Skip to content

Commit c1c9752

Browse files
committed
Updates docs/en/faqs.md
Auto commit by GitBook Editor
1 parent 0819ab2 commit c1c9752

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/en/faqs.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* [Why did `npm run lint` end with an error?](#why-did-npm-run-lint-end-with-an-error)
88
* [Why can't I load my app in a web browser?](#why-cant-i-load-my-app-in-a-web-browser)
99
* [How do I import `jquery`?](#how-do-import-jquery)
10+
* How can I debug the `main` process?
1011

1112
---
1213

@@ -46,3 +47,10 @@ The default nature of eslint is to print linting errors to console, and if there
4647

4748
If you are wanting to use `bootstrap`, I'm going to have to stop you right there. Using both `vue` and `jquery` in the same environment is a bad practice and leads to the two frameworks colliding with each other. I would highly recommend using a `bootstrap` alternative that uses `vue` for its JavaScript functionality. Some recommendations include [`bootstrap-vue`](https://github.com/bootstrap-vue/bootstrap-vue) and [`vue-strap`](https://github.com/yuche/vue-strap). For whatever reason you must use `jquery`, seek guidance from `webpack`'s documentation about the `ProvidePlugin` or see [\#192](https://github.com/SimulatedGREG/electron-vue/issues/192).
4849

50+
## How can I debug the `main` process?
51+
52+
When using `electron@^1.7.2` you can open up Google Chrome, head to `chrome://inspect`, and then pop open the remote electron process while your application is running in development mode.
53+
54+
[Electron Documentation](https://github.com/electron/electron/blob/master/docs/tutorial/debugging-main-process.md)
55+
56+

0 commit comments

Comments
 (0)