mirror of
https://github.com/marktext/marktext.git
synced 2025-05-01 18:50:45 +08:00

* Removed the space in 'Mark Text' (#2763) Literally just replaced all occurances of 'Mark Text' with 'MarkText' using sed. This is directly related to #2763. * Revert changes to .github directory Reverted changelog etc. * Added `cs` alias for `csharp` in code blocks (Fixes #2760) * Added error handler in the renderer process (should fix #2758) The `src/muya/lib/contentState/clickCtrl.js` file will now return if `document.querySelector` fails to find an element.
562 B
Executable File
562 B
Executable File
Debugging
Using Visual Studio Code
The most simplest way is to debug using the Debug MarkText
configuration. You can set breakpoints and use the debugger
statement.
Prerequisites:
Using Chrome Developer Tools
You can use the built-in developer tools via View -> Toggle Developer Tools
in debug mode or connect via chrome://inspect
using port 5861
for the main process and 8315
for the renderer process (yarn run dev
).