foobarF
Deno2y ago
3 replies
foobar

Debug test in visual studio & deno.jsonc

Hi,

I want to debug a test in Visual studio (on Mac). Test can't launch because I use a deno.jsonc with comment inside (live // a comment)

How can I manage this issue ? Where can I modify the command line to remove in addition the warning ?

Thanks


⚠️  The `--unstable` flag is deprecated and will be removed in Deno 2.0. Use granular `--unstable-*` flags instead.
Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags
error: Unable to load 'file:///Users/xxx/xx-api/deno.jsonc' import map

Caused by:
    key must be a string at line 21 column 5

 *  Échec du lancement du processus de terminal "/opt/homebrew/bin/deno 'test', '--allow-all', '--no-check', '--unstable', '--inspect-wait', '--import-map', './deno.jsonc', '--filter', '/^data identical$/', '/Users/xxx/xx-api/xx/routes/xxx.test.ts'" (code de sortie : 1). 
Capture_decran_2024-05-24_a_10.38.46.png
Was this page helpful?