File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ convenience - it proxies to the `package.json` files in the `vscode-client` and
16
16
This guide presumes you have the following dependencies installed:
17
17
18
18
- [ ` yarn ` ] [ yarn ] .
19
- - [ ` node ` ] [ node ] (v6 or newer)
19
+ - [ ` node ` ] [ node ] (v14 or newer)
20
20
- ` g++ `
21
- - ` make `
21
+ - ` make ` (optional)
22
22
23
23
## Initial setup
24
24
@@ -85,6 +85,20 @@ reload your vscode window to re-launch the server.
85
85
yarn run reinstall-server
86
86
```
87
87
88
+ If you for some reason cannot get access to logs through the client,
89
+ then you can hack the ` server/util/logger ` with:
90
+
91
+ ``` typescript
92
+ const fs = require (' fs' )
93
+ const util = require (' util' )
94
+ const log_file = fs .createWriteStream (` /tmp/bash-language-server-debug.log ` , {
95
+ flags: ' w' ,
96
+ })
97
+
98
+ // inside log function
99
+ log_file .write (` ${severity } ${util .format (message )}\n ` )
100
+ ```
101
+
88
102
## Performance
89
103
90
104
To analyze the performance of the extension or server using the Chrome inspector:
You can’t perform that action at this time.
0 commit comments