Skip to content

Commit f9e62d0

Browse files
committed
Update README.md.
1 parent 2eba982 commit f9e62d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ You may need Visual Studio 2017 to build the demo.
1919
1. Open `DemoLanguageServer` in VS, choose `Debug` profile, and build the project.
2020
2. Open `Client\VsCode` folder in VSCode.
2121
3. Run `npm install` in the terminal.
22-
4. Press F5 and a new VSCode window should show.
22+
4. Press F5 and a new VSCode window (Extension Development Host) should show.
2323
5. Open a folder in the new VSCode window, and create a new file.
2424
6. Change the file language to `Demo Language`
25-
7. Then your editor will work as shown in the screenshot. Enter `.net core` in the editor and see what happens.
25+
7. Then your editor will work as shown in the screenshot. Enter `.net core` in the editor and see what happens.
26+
27+
To debug the server application, you may wish to turn `WAIT_FOR_DEBUGGER` conditional switch on in `DemoLanguageServer/Program.cs`. After starting up the Extension Development Host, and activating the language server, you may attach VS Debugger to `dotnet` process and go on debugging.
28+
29+
You may also set the `default` value of `demoLanguageServer.trace.server` to `"messages"` in `package.json` to make language client show more debugging information.

0 commit comments

Comments
 (0)