Indentation

This commit is contained in:
Tobias Baunbaek
2024-01-31 12:04:32 +01:00
parent cbd7d5863e
commit 7dee63edba

View File

@@ -95,14 +95,13 @@ customElements.define('developer-tooling', class extends HTMLElement {
<div>
<div id=remote-inspect-explain>
<h2>Remotely inspect Pear applications.</h2>
<p> Some application setup is required to enable remote debugging </p>
<p> Install the <code>pear-inspect</code> module into the application </p>
<pre><code>npm install pear-inspect</code></pre>
<p> Add the following code to the application, before any other code: </p>
<pre><code>if (Pear.config.dev) {
const { Inspector } = await import('pear-inspect')
<pre><code>if (Pear.config.dev) {
const { Inspector } = await import('@holepunchto/pear-inspect')
const inpector = await new Inspector()
const key = await inpector.enable()
console.log('Pear Inspector key:', key.toString('hex'))