You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/javascript-node/.devcontainer/base.Dockerfile
2
+
3
+
# [Choice] Node.js version: 14, 12, 10
4
+
ARG VARIANT="14-buster"
5
+
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
sed -i -e 's/const version = `${versionMajorMinor}.0-.*`/const version = `${versionMajorMinor}.0-${{ github.event.client_payload.core_tag || 'dev' }}`/g' src/compiler/corePublic.ts
25
+
sed -i -e 's/const version\(: string\)\{0,1\} = `${versionMajorMinor}.0-.*`/const version = `${versionMajorMinor}.0-${{ github.event.client_payload.core_tag || 'dev' }}`/g' src/compiler/corePublic.ts
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,13 @@ In general, things we find useful when reviewing suggestions are:
70
70
71
71
## Tips
72
72
73
+
### Using a development container
74
+
75
+
This repository includes a [development container](https://code.visualstudio.com/docs/remote/containers) that you can use to quickly create an isolated development environment with all the tools you need to start working on TypeScript. To get started with a dev container and VS Code, either:
76
+
77
+
- Clone the TypeScript repository locally and use the `Open Folder in Container` command.
78
+
- Use the `Clone Repository in Container Volume` command to clone the TypeScript repository into a new container.
79
+
73
80
### Faster clones
74
81
75
82
The TypeScript repository is relatively large. To save some time, you might want to clone it without the repo's full history using `git clone --depth=1`.
You can debug with VS Code or Node instead with `gulp runtests --inspect`:
163
+
You can debug with VS Code or Node instead with `gulp runtests -i`:
157
164
158
165
```Shell
159
-
gulp runtests --tests=2dArrays --inspect
166
+
gulp runtests --tests=2dArrays -i
160
167
```
161
168
162
169
You can also use the [provided VS Code launch configuration](./.vscode/launch.template.json) to launch a debug session for an open test file. Rename the file 'launch.json', open the test file of interest, and launch the debugger from the debug panel (or press F5).
0 commit comments