Skip to content

Commit 2c92ccb

Browse files
committed
add eruda
1 parent d396574 commit 2c92ccb

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,13 @@ <h1>Hello World!</h1>
3939
window.deviceName.innerHTML = 'You are: ' + window.webxdc.selfName;
4040
})()
4141
</script>
42+
43+
<!-- Uncomment to include developer tools in your webxdc to debug it inside Delta Chat -->
44+
<!--
45+
<script type="module">
46+
import init from 'eruda'
47+
init.init();
48+
</script>
49+
-->
4250
</body>
4351
</html>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
},
99
"devDependencies": {
1010
"@ffflorian/jszip-cli": "^3.1.6",
11+
"eruda": "^2.4.1",
1112
"vite": "^2.9.9"
1213
}
1314
}

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)