<p dir="auto">Implement Chrome DevTools Protocol for Node-like debug</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// main.ts

import { parse } from &quot;https://deno.land/std/flags/mod.ts&quot;

console.log(parse(Deno.args))"><pre class="notranslate"><span class="pl-c">// main.ts</span>

<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">parse</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/std/flags/mod.ts"</span>

<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-c1">args</span><span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Platform: macos aarch64
Version: 1.25.0
Args: [&quot;deno&quot;, &quot;compile&quot;, &quot;main.ts&quot;]

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/ib/.cargo/registry/src/github.com-1ecc6299db9ec823/eszip-0.25.0/src/v2.rs:512:60
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: eszip::v2::EszipV2::from_graph::visit_module
   4: eszip::v2::EszipV2::from_graph::visit_module
   5: deno::compile_command::{{closure}}
   6: &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll
   7: deno::main::{{closure}}
   8: &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll
   9: deno_runtime::tokio_util::run_local
  10: deno::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace."><pre class="notranslate"><code class="notranslate">Platform: macos aarch64
Version: 1.25.0
Args: ["deno", "compile", "main.ts"]

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/ib/.cargo/registry/src/github.com-1ecc6299db9ec823/eszip-0.25.0/src/v2.rs:512:60
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: eszip::v2::EszipV2::from_graph::visit_module
   4: eszip::v2::EszipV2::from_graph::visit_module
   5: deno::compile_command::{{closure}}
   6: &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll
   7: deno::main::{{closure}}
   8: &lt;core::future::from_generator::GenFuture&lt;T&gt; as core::future::future::Future&gt;::poll
   9: deno_runtime::tokio_util::run_local
  10: deno::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
</code></pre></div>