* 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>
* Everything building, but not running
* More tests passing
* Fix test to open a file
* Remove unused functions and consolidate others
* Remove unused custom lsp messages
* Add comments
* Working for simple cases
* Fix localize
* Move logic to source mapper
* Add support for the current file
* Add rename file command
* Fix comments
* Closer to getting tests to work. Rename added
* Rework how stdlib modules are found. Fix tests
* Do the rename without bringing up a dialog
* Fix tests and add docs
* Fix tests on unix
* Review feedback
* Default shadowed imports to off
* Missed spot for execEnv not needing to be passed
* allow tests to be run from repo root
* remove comments
* reformated using json default formatter
* delete ones in server folder. no longer needed. from now on, open vscode from root folder to run tests