aleph.js
aleph.js copied to clipboard
Debug support for vscode
I know this is alpha, but... Breakpoints are not being hit.
Placing debugger
statement stops in C:\*
instead of ${workspaceFolder}\*
I tried sourceMapPathOverrides
but had no success.
launch.json:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Deno: Run",
"request": "launch",
"type": "pwa-node",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "deno",
"runtimeArgs": [
"run",
"--inspect",
"--unstable",
"-A",
"https://deno.land/x/[email protected]/cli.ts"
],
"args": ["dev"],
"attachSimplePort": 9229,
"outputCapture": "std"
}
]
}
Source locations are different between debuggers:
Is it related to vscode
plugin?
i have a plan to improve this but don't have time yet.
maybe after 0.3 beta.
@vsDizzy what was your sourceMapPathOverrides
configuration? I'm curious if this issue is also related to https://github.com/denoland/deno/issues/11874
Just a first reaction: This is pretty important for out of the box dx, especially when configuration asks if you want to init vs code workspace. Things like tasks to auto launch deno task dev
and attach a debugger would be expected.