Hello,
I am trying to debug a crystal app using VS code. I followed what is explained here:
https://docs.amberframework.org/amber/examples/crystal-debug
but so far it does not work for me. The pre-launch task is trying to compile a file but I have an error saying target was not found in shard.yml. However shard.yml has this same file for its target ‘main’:
shard.yml:
…
targets:
isekai:
main: src/isekai.cr
…
tasks.json:
…
“label”: “Compile”,
“command”: “shards build --debug src/isekai.cr”,
“type”: “shell”
…
Somebody knows what I am doing wrong?