marktext/docs/dev/DEBUGGING.md
bolshoytoster 2ed5a85012
Removed the space in 'Mark Text' (#2763) (#2782)
* 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.
2021-12-25 21:05:58 +08:00

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).