pyright/packages/pyright-internal/tsconfig.json
Lucian Wischik c0fbb93ee4
Debugging (#7332)
* launch.json CLI debug that bypasses webpack

I got a bit irritated in my edit-build-debug inner loop with the time to run webpack.

This commit adds a new launch target called "Pyright CLI (pyright-internal)" which bypasses webpack and just runs the package straight from the packages/pyright-internal/out directory where tsc has built it.

* fix outFiles directive

The VSCode docs say about outFiles:
> By default, VS Code will search your entire workspace, excluding node_modules, for sourcemaps. In large workspaces, this search might be slow. You can configure the locations where VS Code will search for source maps by setting the outFiles attribute in your launch.json.

I guess this is the right change to make? it didn't make any difference in VSCode debugger's ability to hit breakpoints, though.

---------

Co-authored-by: Eric Traut <eric@traut.com>
2024-02-25 15:26:06 -07:00

21 lines
350 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./out",
"paths": {
}
},
"include": [
"src/**/*",
"src/localization/*.json",
"**/*.js",
"package.json",
],
"exclude": [
"node_modules",
"dist",
"out",
"debug.js",
]
}