jcef.md: note new registry key in 2021.3 to enable DevTools

This commit is contained in:
Yann Cébron 2021-08-30 15:05:06 +02:00
parent 82d81c83a8
commit 3a63f14a8c

View File

@ -45,7 +45,8 @@ ide.browser.jcef.debug.port=9222
JavaScript debugger in IntelliJ IDEA Ultimate can thus be used to debug JavaScript code running in the IDE via the Chrome DevTools. JavaScript debugger in IntelliJ IDEA Ultimate can thus be used to debug JavaScript code running in the IDE via the Chrome DevTools.
Use the _Attach to Node.js/Chrome_ configurations with a proper port number. Use the _Attach to Node.js/Chrome_ configurations with a proper port number.
Also, JCEF provides a default Chrome DevTools front-end (similar to the one in the Chrome browser) that can be opened from the JCEFs browser component context menu via **Open DevTools** (the menu item is available in [internal mode](enabling_internal.md) only). Also, JCEF provides a default Chrome DevTools front-end (similar to the one in the Chrome browser) that can be opened from the JCEFs browser component context menu via **Open DevTools**.
The menu item is available in [internal mode](enabling_internal.md) only, starting with 2021.3 platform registry key `ide.browser.jcef.contextMenu.devTools.enabled` must be set to `true` explicitly.
To access the Chrome DevTools in plugin code, use the following API: To access the Chrome DevTools in plugin code, use the following API: