Skip to content

Commit

Permalink
Document markdown debug server build path
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mjbvz committed Jul 26, 2024
1 parent 53301ea commit b96532b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/markdown-language-features/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ function startServer(context: vscode.ExtensionContext, parser: IMdParser): Promi

const serverModule = context.asAbsolutePath(
isDebugBuild
// For local non bundled version of vscode-markdown-languageserver
// ? './node_modules/vscode-markdown-languageserver/out/node/workerMain'
? './node_modules/vscode-markdown-languageserver/dist/node/workerMain'
: './dist/serverWorkerMain'
);
Expand Down

0 comments on commit b96532b

Please sign in to comment.