Help launching/running CLI application from VSCode

I’m trying to run a commandline application from within VSCode.
Link to my repository.
This is the Chapter 13 code from “Programming Elixir”.

Things I’ve tried:

  1. Added a main(argv) to the module.

  2. Added escript: [main_module: Issues.CLI], to the mix.exs file.

  3. Created a launch.json configuration:

        {
            "type": "mix_task",
            "name": "mix CLI",
            "request": "launch",
            "projectDir": "${workspaceRoot}",
            "task": "run",
            "taskArgs": [
                "lib/issues/cli.ex"
            ]
        },
    

When I click ‘Run and Debug’ it seems to compile and start, but I never hit a breakpoint set in either the main or run function.

Any help is appreciated, thank you.

I should also mention that I can use mix escript.build to build the binary and it runs fine.