Tutorial - Debugging Mobirise with Startup Options
Verfasst: Di 30. Jun 2026, 09:26
When Mobirise encounters a problem, it is often difficult to understand what is actually happening.
Since Mobirise is built on Electron, it supports several startup parameters that can enable diagnostic logging and advanced V8 JavaScript engine options.
In this tutorial, we'll explore the most useful ones.
Modify the Mobirise shortcut
The easiest way is to modify the Windows shortcut.
Right-click the Mobirise shortcut and select Properties.
In the Target field, simply add the desired parameters after the executable path.
Example:
You can also launch Mobirise directly from the Command Prompt.
1. Enable logging
This option enables Chromium and Electron internal logging.
It is especially useful when Mobirise refuses to start or when a plugin causes an error.
Example:
2. Increase the log verbosity
By default, the logs remain fairly concise.
This option increases the level of detail.
The available values are usually:
The higher the value, the more detailed the logs become.
3. Save logs to a file
Instead of displaying messages only in the console, you can save them to a log file.
Example:
This is very useful when you need to send the logs to a developer.
Remember to replace USERPROFILE with your actual Windows user profile.
Some useful V8 options
Trace Garbage Collection
Displays every garbage collection cycle performed by the V8 engine.
Disable the JIT compiler
Runs JavaScript without Just-In-Time (JIT) compilation.
This option is mainly intended for developers who want to measure the impact of V8 optimizations.
Trace TurboFan optimizations
Displays the functions optimized by the TurboFan compiler.
Can multiple options be combined?
Yes.
For example:
Conclusion
These startup options can turn Mobirise into a much more powerful debugging environment.
Although most of them are intended for developers, they can also be extremely helpful for diagnosing problems, understanding how Mobirise works internally, or analyzing the behavior of an extension.
Warning: These options are not specific to Mobirise. They come from Electron, Chromium, Node.js, or the V8 JavaScript engine. Some of them may change or disappear in future versions of Mobirise. Before using them in a production environment, it is recommended to test each option individually
Since Mobirise is built on Electron, it supports several startup parameters that can enable diagnostic logging and advanced V8 JavaScript engine options.
In this tutorial, we'll explore the most useful ones.
Modify the Mobirise shortcut
The easiest way is to modify the Windows shortcut.
Right-click the Mobirise shortcut and select Properties.
In the Target field, simply add the desired parameters after the executable path.
Example:
Code: Alles auswählen
"C:\Program Files (x86)\Mobirise\Mobirise.exe" --enable-logging1. Enable logging
Code: Alles auswählen
--enable-loggingIt is especially useful when Mobirise refuses to start or when a plugin causes an error.
Example:
Code: Alles auswählen
"C:\Program Files (x86)\Mobirise\Mobirise.exe" --enable-loggingCode: Alles auswählen
--v=2This option increases the level of detail.
Code: Alles auswählen
"C:\Program Files (x86)\Mobirise\Mobirise.exe" --enable-logging --v=2Code: Alles auswählen
--v=1
--v=2
--v=33. Save logs to a file
Code: Alles auswählen
--log-file=C:\users\USERPROFILE\temp\mobirise.logExample:
Code: Alles auswählen
"C:\Program Files (x86)\Mobirise\Mobirise.exe" --enable-logging --log-file=C:\users\USERPROFILE\temp\mobirise.logRemember to replace USERPROFILE with your actual Windows user profile.
Some useful V8 options
Trace Garbage Collection
Code: Alles auswählen
--js-flags="--trace-gc"Disable the JIT compiler
Code: Alles auswählen
--js-flags="--jitless"This option is mainly intended for developers who want to measure the impact of V8 optimizations.
Trace TurboFan optimizations
Code: Alles auswählen
--js-flags="--trace-opt"Can multiple options be combined?
Yes.
For example:
Code: Alles auswählen
"C:\Program Files (x86)\Mobirise\Mobirise.exe" ^
--enable-logging ^
--v=2 ^
--log-file=C:\Temp\mobirise.logThese startup options can turn Mobirise into a much more powerful debugging environment.
Although most of them are intended for developers, they can also be extremely helpful for diagnosing problems, understanding how Mobirise works internally, or analyzing the behavior of an extension.