https://github.com/pardeike/vscode-remotelogserver
Visual Studio Code extension that accepts log data on a socket so you see the log in realtime in a document without touching the disk
https://github.com/pardeike/vscode-remotelogserver
Last synced: about 1 year ago
JSON representation
Visual Studio Code extension that accepts log data on a socket so you see the log in realtime in a document without touching the disk
- Host: GitHub
- URL: https://github.com/pardeike/vscode-remotelogserver
- Owner: pardeike
- Created: 2020-09-20T15:28:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-20T19:59:36.000Z (almost 6 years ago)
- Last Synced: 2025-02-13T20:43:30.267Z (over 1 year ago)
- Language: TypeScript
- Size: 547 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Remote Log Server README
Use your Visual Studio Code editor as a log destination. Creates no files on disk and works for remote logging too.
## Usage
Press to start a server, and connect to the server via telnet or socket programms sending text.
Example python code:
```
import socket
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.connect(('localhost', 8888))
s.send('Hello World\n'.encode())
```
You can also use `telnet localhost 8888` from bash. Please note that the server does not run in line buffering mode so you can send partial lines.
## Features
1. [CTRL+F12] to start the server
2. [SHIFT+F12] to stop the server
3. [F12] to toggle the server (pause/resume)
## Extension Settings
This extension contributes the following settings:
* `RemoteLogServer.host`: The host address of the remote control server, default = 'localhost'.
* `RemoteLogServer.port`: The tcp/ip port the remote control server listens to, default = 9527.
-----------------------------------------------------------------------------------------------------------
**Enjoy!**