cowboyd
cowboyd
DDeno
Created by cowboyd on 1/27/2025 in #help
How to load DWARF debugging symbols from WASM modules when running `deno --inspect`
I'm trying to step through some WASM code that I've imported as a module with the debugger when using deno --inspect. While this does work with the raw WASM, it does not actually display any of the debug symbols that are included when you compile with -g I've set up a project to demonstrate the issue: https://github.com/cowboyd/deno-wasm-debug I'm not sure exactly why this is not working in Deno, but it could very well be that it is not loading the custom devtools extension that is require to load the debug symbols. Has anybody else gotten this to work, or know of a way that it could?
8 replies
DDeno
Created by cowboyd on 11/14/2024 in #help
Is there a way to read the current raw options for stdin?
I want to create an operation that uses raw input from stdin, but then resets it afterwards to whatever it was when the operation started. In other words, if it was already raw, then it should remain raw. If it was not, then it should be reset to be not raw. The same applies for the value of the raw options: e.g. {cbreak: true } In order to do this, I need to read the current raw options. Is there a way to do this?
8 replies
DDeno
Created by cowboyd on 5/8/2023 in #help
Custom JSX transform from local module
Is it possible to define a JSX transform within the same codebase? All of the examples show referencing it from a remote module like https:/esm.sh/preact I've tried this, but it is unable to load my local jsx-runtime module because it doesn't recognize it as bing JS or TS. https://github.com/cowboyd/deno-jsx I've considered using an import map, but I'd like to see if it can be done without one if possible.
1 replies