nlql / .vscode / launch.json
launch.json
Raw
{
    // 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": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "env": {
                "PYTHONPATH": "${workspaceFolder}${pathSeparator}"
            },
            "justMyCode": false
        },
        {
            "name": "Python: Attach",
            "type": "python",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            }
        },
        {
            "type": "pwa-chrome",
            "request": "launch",
            "name": "Launch Chrome against localhost",
            "url": "http://localhost:8080",
            "webRoot": "${workspaceFolder}"
        },
        {
            "name": "Python: train world_cup",
            "type": "python",
            "request": "launch",
            "program": "seq2seq/run_seq2seq.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "env": {
                "PYTHONPATH": "${workspaceFolder}${pathSeparator}"
            },
            "justMyCode": false,
            "args": [
                "configs/worldcup_train_large.json"
            ]
        },
        {
            "name": "Python: train spider large",
            "type": "python",
            "request": "launch",
            "program": "seq2seq/run_seq2seq.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "env": {
                "PYTHONPATH": "${workspaceFolder}${pathSeparator}"
            },
            "justMyCode": false,
            "args": [
                "configs/train_large.json"
            ]
        },
        {
            "name": "Python: eval world_cup",
            "type": "python",
            "request": "launch",
            "program": "seq2seq/run_seq2seq.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "env": {
                "PYTHONPATH": "${workspaceFolder}${pathSeparator}"
            },
            "justMyCode": false,
            "args": [
                "configs/eval_worldcup_large.json"
            ]
        },
        {
            "name": "Python: eval spider",
            "type": "python",
            "request": "launch",
            "program": "seq2seq/run_seq2seq.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "env": {
                "PYTHONPATH": "${workspaceFolder}${pathSeparator}"
            },
            "justMyCode": false,
            "args": [
                "configs/eval.json"
            ]
        },
        {
            "name": "Python: train spider",
            "type": "python",
            "request": "launch",
            "program": "seq2seq/run_seq2seq.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "env": {
                "PYTHONPATH": "${workspaceFolder}${pathSeparator}"
            },
            "justMyCode": false,
            "args": [
                "configs/train_small.json"
            ]
        },
        {
            "name": "Python: eval llama",
            "type": "python",
            "request": "launch",
            "program": "seq2seq/run_seq2seq.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}",
            "env": {
                "PYTHONPATH": "${workspaceFolder}${pathSeparator}"
            },
            "justMyCode": false,
            "args": [
                "configs/train_small.json"
            ]
        }
    ]
}