Initial commit
This commit is contained in:
14
.vscode/launch.json
vendored
Normal file
14
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug",
|
||||
"preLaunchTask": "rust: cargo build",
|
||||
"program": "target/debug/telnet_server",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
]
|
||||
}
|
||||
30
.vscode/tasks.json
vendored
Normal file
30
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "telnet_server: Start TELNET Docker",
|
||||
"type": "shell",
|
||||
"command": "./telnet/run_telnet.sh",
|
||||
"args": [
|
||||
"${input:host}",
|
||||
"${input:port}"
|
||||
],
|
||||
"detail": "Starts a Docker container (in interactive mode) that runs TELNET and connects to given host and port",
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "host",
|
||||
"type": "promptString",
|
||||
"default": "host.docker.internal",
|
||||
"description": "Which host should the TELNET client connect to?"
|
||||
},
|
||||
{
|
||||
"id": "port",
|
||||
"type": "promptString",
|
||||
"default": "9000",
|
||||
"description": "Which port should the TELNET client connect to?"
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user