Skip to content

Commit b96532b

Browse files
committed
Document markdown debug server build path
For debugging, we may want to load the non-bundled path. Only useful when using `yarn link` for local development so just adding as comment
1 parent 53301ea commit b96532b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/markdown-language-features/src/extension.ts

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ function startServer(context: vscode.ExtensionContext, parser: IMdParser): Promi
3131

3232
const serverModule = context.asAbsolutePath(
3333
isDebugBuild
34+
// For local non bundled version of vscode-markdown-languageserver
35+
// ? './node_modules/vscode-markdown-languageserver/out/node/workerMain'
3436
? './node_modules/vscode-markdown-languageserver/dist/node/workerMain'
3537
: './dist/serverWorkerMain'
3638
);

0 commit comments

Comments
 (0)