tomblind / local-lua-debugger-vscode

Local Lua Debugger for VSCode
MIT License
107 stars 26 forks source link

Add `console` for Integrated Terminal option to launch configuration #73

Closed nathanpage-credo closed 2 years ago

nathanpage-credo commented 2 years ago

Being able to use the Integrated Terminal would allow me to provide input to the program at runtime, so i can get it to a failing state easily.

{
      "name": "Ldb: Python File",
      "type": "lua-local",
      "request": "launch",
      "program": {
        "command": "${workspaceFolder}/.venv/bin/python"
      },
      "args": ["-m", "IPython", "-i", "${file}"],
      "console": "integratedTerminal"
}

Is this an easy feature to add?

nathanpage-credo commented 2 years ago

Nevermind, after taking a look at it, it would not be feasible with the limited api that the integrated terminal provides.