j11s
j11s
DDeno
Created by j11s on 5/11/2023 in #help
Deno debugging failure: Argument 0 must be a buffer source
yes, that's it. Thanks!
5 replies
DDeno
Created by j11s on 5/11/2023 in #help
Deno debugging failure: Argument 0 must be a buffer source
However, I can now run longer running deno apps with --inspect -- so that fixed my blocking problem with debugging for now. I still think there's a bug somewhere with Deno, Dax, the debugger in Chrome, etc.
5 replies
DDeno
Created by j11s on 5/11/2023 in #help
Deno debugging failure: Argument 0 must be a buffer source
I've narrowed the issue down to DAX:
// example.ts
import $ from 'https://deno.land/x/dax@0.31.1/mod.ts'

console.log("IT RUNS")

console.dir($.commandExistsSync("ls"))

console.log("IT FINISHES")
// example.ts
import $ from 'https://deno.land/x/dax@0.31.1/mod.ts'

console.log("IT RUNS")

console.dir($.commandExistsSync("ls"))

console.log("IT FINISHES")
Debug with deno run --inspect-brk -A example.ts
5 replies