[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 05 Jun 2023 09:18:09 -0400
Summary: Jack into Firefox
Maintainer: Thomas Fitzsimmons <email@example.com>
Author: Thomas Fitzsimmons <firstname.lastname@example.org>
Start the REPL:
C-x k RET yes RET
or quit Firefox from within Firefox.
throwaway Firefox profile directory is created before each run, so
you won't need to modify your existing profiles. This mode takes
care of starting the new Firefox process in debugging mode, which
may be tedious to do by hand.
This `comint' mode is barebones and unstructured, meant for quick
`comint-indirect-buffer' support, syntax highlighting happens on
the current statement.
Paste each statement from `example.js' into the REPL to try it out.
For projects you should probably use `dap-mode' and `lsp-mode'
Only Firefox and Firefox-derivative browsers will ever be supported
(unless someone sends a really convincing patch). I promise to
attempt to stive to keep this working with at least the
greenest-of-evergreen Firefox and Firefox ESR versions (see
Compatibility). My sense is that the Firefox Remote Debugging
Protocol is less of a moving target than it used to be. Emacs
versions back to 26.1 (or earlier if anyone can test on Emacs <
26.1) will be supported.
Wouldn't it be great (for other people) to turn this into a full
(https://github.com/segv/jss) but its most recent update is ten
years old and the Firefox Remote Debugging Protocol has changed too
The function `fjrepl--extract-result' could do a way better job of
getting results but I find it OK for little experiments. If I need
Syntax errors currently fail silently.
║ Test Date ║ Architecture ║ Browser ║ Version ║
║ 2023-05-26 ║ ppc64le ║ Firefox ║ 102.11.0esr (64-bit) ║
║ 2023-05-26 ║ x86-64 ║ Firefox ║ 113.0.2 (64-bit) ║
║ 2023-05-26 ║ x86-64 ║ Abrowser ║ 111.0.1 (64-bit) ║
FRDP: Firefox Remote Debugging Protocol
You are receiving this message via the email@example.com mailing list.
List info/preferences: https://lists.gnu.org/mailman/listinfo/info-gnu-emacs
|[Prev in Thread]
||[Next in Thread]|
Sacha Chua <=