Skip to content

Commit 7721b99

Browse files
committed
Add debugging instructions for Windows
Fixes #214
1 parent aa9073b commit 7721b99

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ To have separate mutliple instances of TiddlyDesktop (for example, separate Pers
5656

5757
The F12 key opens the Chromium developer tools for the current window.
5858

59+
## Debugging With VSCode
60+
61+
Instructions for Windows 10 64-bit (updates for other OSs welcome).
62+
63+
* Required software: VScode, Debugger for NWjs plugin installed in vscode
64+
* Download the latest version of TiddlyDesktop-win64-v0.0.15 and unzip it to keep only four folders: html, images, js, tiddlywiki and package.json file
65+
* Download nwjs-sdk-v0.69.1-win-x64, put it in C:\Users\your username\.nwjs folder and unzip it. After unzipping you can see the nw.exe program in the .nwjs\nwjs-sdk-v0.69.1-win-x64 folder to indicate that it is correct. (Again, you can use Ctrl + shift + p in vscode to bring up the command to execute the NWjs Install command and select the version to install)
66+
* Use vscode to open the TiddlyDesktop-win64 folder
67+
* Modify the "main" field in the package.json file to "html/main.html"
68+
* Click 'Debug' and select nwjs to automatically create the configuration file laugh.json (no need to modify it). Then click Start to debug.
69+
5970
# Building
6071

6172
1. Run `download-nwjs.sh` to download the latest nw.js binaries

0 commit comments

Comments
 (0)