> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderide.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript / JavaScript

> LSP and debugger setup for TypeScript and JavaScript in Coder.

<img src="https://mintcdn.com/coder-ide/xGYxbscsCmJOCfrf/media/TypeScript.jpg?fit=max&auto=format&n=xGYxbscsCmJOCfrf&q=85&s=59a742b6eb1350330f5422034a417d30" alt="TypeScript LSP" width="3456" height="2158" data-path="media/TypeScript.jpg" />

## Language server

| Server | Install |
| - | - |
| [typescript-language-server](https://github.com/typescript-language-server/typescript-language-server) | `npm install -g typescript-language-server typescript` |

**The one exception to "nothing is bundled."** `typescript-language-server` needs a real TypeScript install to run against and has none of its own, it happily uses a project's own `node_modules/typescript` when present, but a plain JS-only folder with no `package.json` has nothing for it to find. Coder ships its own copy of `tsserver.js` as a last-resort fallback, used strictly *after* checking for (and not finding) a workspace-local install, so a project pinning its own TypeScript version is never overridden by Coder's bundled copy.

## Debugger

| Adapter | Install | Notes |
| - | - | - |
| [js-debug-adapter](https://github.com/microsoft/vscode-js-debug) (or plain `node`) | Ships with VS Code, or `npm install -g @vscode/js-debug` | |

See [Debugger](/debugger) for the debugger UI itself.

## Tested on

macOS (Apple Silicon). Windows and Linux paths aren't documented yet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.