kek_ (Tobias)
kek_ (Tobias)•3w ago

Debugger crashes in Docker container

I get this error message trying to debug a simple Deno + hono project:
deno_1 | ============================================================
deno_1 | Deno has panicked. This is a bug in Deno. Please report this
deno_1 | at https://github.com/denoland/deno/issues/new.
deno_1 | If you can reliably reproduce this panic, include the
deno_1 | reproduction steps and re-run with the RUST_BACKTRACE=1 env
deno_1 | var set and include the backtrace in your report.
deno_1 |
deno_1 | Platform: linux x86_64
deno_1 | Version: 2.1.1
deno_1 | Args: ["deno", "--check", "--watch", "--allow-all", "--inspect=0.0.0.0:9229", "index.tsx"]
deno_1 |
deno_1 | thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.321.0/inspector.rs:381:16:
deno_1 | internal error: entered unreachable code
deno_1 | ============================================================
deno_1 | Deno has panicked. This is a bug in Deno. Please report this
deno_1 | at https://github.com/denoland/deno/issues/new.
deno_1 | If you can reliably reproduce this panic, include the
deno_1 | reproduction steps and re-run with the RUST_BACKTRACE=1 env
deno_1 | var set and include the backtrace in your report.
deno_1 |
deno_1 | Platform: linux x86_64
deno_1 | Version: 2.1.1
deno_1 | Args: ["deno", "--check", "--watch", "--allow-all", "--inspect=0.0.0.0:9229", "index.tsx"]
deno_1 |
deno_1 | thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.321.0/inspector.rs:381:16:
deno_1 | internal error: entered unreachable code
3 Replies
kek_ (Tobias)
kek_ (Tobias)OP•3w ago
This is my docker compose:
services:
deno:
image: denoland/deno
working_dir: /server
restart: always
command:
- deno
- --check
- --watch
- --allow-all
- --inspect=0.0.0.0:9229
- index.tsx
ports:
- 127.0.0.1:8000:8000
- 127.0.0.1:9229:9229
volumes:
- ./server:/server
depends_on:
- db
services:
deno:
image: denoland/deno
working_dir: /server
restart: always
command:
- deno
- --check
- --watch
- --allow-all
- --inspect=0.0.0.0:9229
- index.tsx
ports:
- 127.0.0.1:8000:8000
- 127.0.0.1:9229:9229
volumes:
- ./server:/server
depends_on:
- db
bartlomieju
bartlomieju•3w ago
@snek could you take a look?
kek_ (Tobias)
kek_ (Tobias)OP•3w ago
Oddly enough after trying around a few more times it now works. And now I can't reproduce the crash anymore. 🤔