├── .gitignore ├── .vscode └── launch.json ├── README.md ├── downloads └── vscode-node-debug2 │ ├── .github │ ├── assignment.yml │ ├── locker.yml │ └── needs_more_info.yml │ ├── .gitignore │ ├── .vscode │ ├── launch.json │ ├── settings.json │ └── tasks.json │ ├── .vscodeignore │ ├── .vsts │ ├── .vsts-ci.yml │ └── job.yml │ ├── CODE_OF_CONDUCT.md │ ├── CONTRIBUTING.md │ ├── LICENSE.txt │ ├── README.md │ ├── ThirdPartyNotices.txt │ ├── gulpfile.js │ ├── i18n │ ├── chs │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── cht │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── csy │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── deu │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── esn │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── fra │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── hun │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── ita │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── jpn │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── kor │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── package.i18n.json │ ├── plk │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── ptb │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── rus │ │ ├── out │ │ │ └── src │ │ │ │ ├── errors.i18n.json │ │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ └── trk │ │ ├── out │ │ └── src │ │ │ ├── errors.i18n.json │ │ │ └── nodeDebugAdapter.i18n.json │ │ └── package.i18n.json │ ├── images │ └── node-debug-icon.png │ ├── msbuild │ ├── NodeDebugAdapter.csproj │ └── NodeDebugAdapter.sln │ ├── package.json │ ├── package.nls.json │ ├── src │ ├── errors.ts │ ├── extension.ts │ ├── nodeDebug.ts │ ├── nodeDebugAdapter.ts │ ├── nodeDebugInterfaces.d.ts │ ├── pathUtils.ts │ ├── terminateProcess.sh │ ├── utils.ts │ └── wslSupport.ts │ ├── test │ ├── adapter.test.ts │ ├── breakpoints.test.ts │ ├── stepping.test.ts │ ├── testSetup.ts │ └── variables.test.ts │ ├── testdata │ ├── .vscode │ │ └── launch.json │ ├── calls-between-files-with-exception │ │ ├── out │ │ │ ├── sourceA.js │ │ │ └── sourceB.js │ │ ├── src │ │ │ ├── sourceA.ts │ │ │ └── sourceB.ts │ │ └── tsconfig.json │ ├── calls-between-merged-files │ │ ├── .vscode │ │ │ └── launch.json │ │ ├── gulpfile.js │ │ ├── out │ │ │ ├── b.js │ │ │ ├── sourceA.js │ │ │ └── sourceB1.js │ │ ├── package.json │ │ ├── sourceA.ts │ │ ├── sourceB1.ts │ │ ├── sourceB2.ts │ │ └── tsconfig.json │ ├── calls-between-multiple-files │ │ ├── out │ │ │ ├── sourceA.js │ │ │ ├── sourceB1.js │ │ │ └── sourceB2.js │ │ ├── sourceA.ts │ │ ├── sourceB1.ts │ │ ├── sourceB2.ts │ │ └── tsconfig.json │ ├── calls-between-sourcemapped-files │ │ ├── .vscode │ │ │ └── launch.json │ │ ├── out │ │ │ ├── sourceA.js │ │ │ └── sourceB.js │ │ ├── src │ │ │ ├── sourceA.ts │ │ │ └── sourceB.ts │ │ └── tsconfig.json │ ├── es-modules │ │ ├── file1.mjs │ │ └── file2.mjs │ ├── folder with spaces │ │ └── file with spaces.js │ ├── glob │ │ ├── f1 │ │ │ ├── file11.js │ │ │ └── file12.js │ │ ├── f2 │ │ │ ├── file21.js │ │ │ └── file22.js │ │ └── f3 │ │ │ ├── file31.js │ │ │ └── file32.js │ ├── large-buffer │ │ └── largeBuffer.js │ ├── native-async-await │ │ ├── .vscode │ │ │ └── launch.json │ │ └── main.js │ ├── nodeInternalsCaughtException.js │ ├── program.js │ ├── programSingleLine.js │ ├── programWithConsoleLogging.js │ ├── programWithDebugger.js │ ├── programWithException.js │ ├── programWithFunction.js │ ├── programWithUncaughtException.js │ ├── programWithVariables.js │ ├── promise-chain │ │ └── main.js │ ├── simple-eval │ │ └── index.js │ ├── sourcemap-no-sourceMappingURL │ │ ├── out │ │ │ └── classes.js │ │ └── src │ │ │ └── classes.ts │ ├── sourcemaps with spaces │ │ ├── the distribution │ │ │ └── classes.js │ │ └── the source │ │ │ └── classes.ts │ ├── sourcemaps-2574 │ │ ├── out │ │ │ └── classes.js │ │ └── src │ │ │ └── classes.ts │ ├── sourcemaps-inline-sources │ │ ├── _program.ts │ │ ├── program.js │ │ └── tsconfig.json │ ├── sourcemaps-inline │ │ ├── dist │ │ │ └── classes.js │ │ ├── src │ │ │ └── classes.ts │ │ └── tsconfig.json │ ├── sourcemaps-js-entrypoint │ │ ├── out │ │ │ ├── classes.js │ │ │ └── entry.js │ │ └── src │ │ │ └── classes.ts │ ├── sourcemaps-local-paths │ │ ├── .vscode │ │ │ └── launch.json │ │ ├── package.json │ │ ├── src │ │ │ └── classes.ts │ │ └── tsconfig.json │ ├── sourcemaps-setinterval │ │ ├── dist │ │ │ ├── file2.js │ │ │ └── program.js │ │ ├── src │ │ │ ├── file2.ts │ │ │ └── program.ts │ │ └── tsconfig.json │ ├── sourcemaps-simple-no-sourceMappingURL │ │ ├── classes.js │ │ └── classes.ts │ ├── sourcemaps-simple │ │ ├── classes.js │ │ └── classes.ts │ ├── sourcemaps-with-and-without │ │ ├── out │ │ │ ├── mapped.js │ │ │ └── unmapped.js │ │ ├── src │ │ │ └── mapped.ts │ │ └── tsconfig.json │ ├── symlinked-file │ │ ├── .vscode │ │ │ └── launch.json │ │ ├── main.js │ │ ├── src │ │ │ └── file.js │ │ └── symlinkToSrc │ └── webpack │ │ ├── .vscode │ │ └── launch.json │ │ ├── app.ts │ │ ├── out │ │ └── bundle.js │ │ ├── package.json │ │ └── webpack.config.js │ ├── tsconfig.json │ └── tslint.json ├── index.js ├── package.json ├── src ├── client.ts ├── ext-json-server.ts ├── index.html ├── json-server-launcher.ts ├── json-server.ts ├── main.ts ├── monaco-editor-core.d.ts ├── node │ ├── abstractDebugAdapter.ts │ ├── debugAdapter.ts │ ├── debugProtocol.d.ts │ └── debugSession.ts └── server.ts ├── tsconfig.json └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | package-lock.json 3 | yarn.lock 4 | lib/ 5 | *.js.map -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Program", 11 | "program": "${workspaceFolder}/lib/server.js" 12 | }, 13 | { 14 | "type": "node", 15 | "request": "attach", 16 | "name": "Attach to Extension Host", 17 | "processId": "${command:PickProcess}" 18 | }, 19 | ] 20 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Run 2 | 3 | ``` 4 | $ yarn 5 | $ yarn start 6 | ``` -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.github/assignment.yml: -------------------------------------------------------------------------------- 1 | { 2 | perform: true, 3 | assignees: [ roblourens ] 4 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.github/locker.yml: -------------------------------------------------------------------------------- 1 | { 2 | daysAfterClose: 30, 3 | daysSinceLastUpdate: 3, 4 | perform: true 5 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.github/needs_more_info.yml: -------------------------------------------------------------------------------- 1 | { 2 | daysUntilClose: 7, 3 | needsMoreInfoLabel: 'needs more info', 4 | perform: true, 5 | closeComment: 'This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our [guidelines](https://github.com/Microsoft/vscode/blob/master/CONTRIBUTING.md) for filing issues. Thank you for your contributions.' 6 | } 7 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | /out/ 4 | /testapp/out/ 5 | lib/ 6 | *.vsix 7 | vscode-node-debug2.txt 8 | typings/ 9 | .browse.VC.db 10 | npm-debug.log 11 | package.nls.*.json 12 | testdata/sourcemaps-local-paths/out -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | // "debugServer": "4712", 4 | "configurations": [ 5 | { 6 | "name": "launch as server", 7 | "type": "node", 8 | "request": "launch", 9 | "protocol": "inspector", 10 | "cwd": "${workspaceFolder}", 11 | "program": "${workspaceFolder}/out/src/nodeDebug.js", 12 | "args": [ "--server=4712" ], 13 | "outFiles": ["${workspaceFolder}/out/**/*.js"] 14 | }, 15 | { 16 | "name": "run file", 17 | "type": "node", 18 | "request": "launch", 19 | "protocol": "inspector", 20 | "cwd": "${workspaceFolder}", 21 | "program": "${file}" 22 | }, 23 | { 24 | "name": "Run Tests", 25 | "type": "node", 26 | "protocol": "inspector", 27 | "request": "launch", 28 | "cwd": "${workspaceFolder}", 29 | "program": "${workspaceFolder}/node_modules/.bin/_mocha", 30 | "args": [ 31 | "-u", "tdd", 32 | "--timeout", "180000000", 33 | "--colors", 34 | "./out/test", 35 | "-R", "node_modules/vscode-chrome-debug-core-testsupport/out/loggingReporter.js" 36 | ], 37 | "outFiles": [ "${workspaceFolder}/out/test/**/*.js" ], 38 | "internalConsoleOptions": "openOnSessionStart" 39 | }, 40 | { 41 | "name": "Grepped Tests", 42 | "type": "node", 43 | "request": "launch", 44 | "protocol": "inspector", 45 | "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", 46 | "args": [ "--no-timeouts", 47 | "-s", "2000", 48 | "--colors", 49 | "--reporter", "node_modules/vscode-chrome-debug-core-testsupport/out/loggingReporter.js", 50 | "./out/test", 51 | "-u", "tdd", 52 | "-R", "node_modules/vscode-chrome-debug-core-testsupport/out/loggingReporter.js", 53 | "--grep", ".*" ], 54 | "cwd": "${workspaceFolder}", 55 | "skipFiles": [ 56 | "/**/*.js" 57 | ], 58 | "sourceMaps": true, 59 | "outFiles": ["${workspaceFolder}/out/**/*.js"] 60 | }, 61 | { 62 | "name": "Run Extension", 63 | "type": "extensionHost", 64 | "request": "launch", 65 | "runtimeExecutable": "${execPath}", 66 | "args": [ 67 | "--extensionDevelopmentPath=${workspaceFolder}" 68 | ], 69 | "sourceMaps": true, 70 | "outFiles": [ "${workspaceFolder}/out/**/*.js" ] 71 | }, 72 | { 73 | "name": "Debug gulpfile", 74 | "type": "node", 75 | "request": "launch", 76 | "protocol": "inspector", 77 | "cwd": "${workspaceFolder}", 78 | "program": "${workspaceFolder}/node_modules/.bin/gulp", 79 | "args": [ 80 | "transifex-push-test" 81 | ], 82 | "internalConsoleOptions": "openOnSessionStart" 83 | }, 84 | { 85 | "name": "attach node-debug", 86 | "type": "node", 87 | "request": "attach", 88 | "protocol": "inspector", 89 | "port": 1235, 90 | "outFiles": ["${workspaceFolder}/out/**/*.js"], 91 | "internalConsoleOptions": "openOnSessionStart", 92 | } 93 | ] 94 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.insertSpaces": true, 3 | "files.trimTrailingWhitespace": true, 4 | "files.exclude": { 5 | ".git": true, 6 | "bin": true, 7 | "node_modules": false, 8 | "package.nls.*.json": true 9 | }, 10 | "search.exclude": { 11 | ".git": true, 12 | "node_modules": true, 13 | "bin": true, 14 | "out": true 15 | } 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "type": "npm", 6 | "script": "watch", 7 | "problemMatcher": [ 8 | "$gulp-tsc" 9 | ], 10 | "isBackground": true, 11 | "group": { 12 | "kind": "build", 13 | "isDefault": true 14 | } 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.vscodeignore: -------------------------------------------------------------------------------- 1 | **/*.ts 2 | **/*.map 3 | .vscode/** 4 | *.vsix 5 | gulpfile.js 6 | tsconfig.json 7 | tslint.json 8 | testapp/** 9 | testdata/** 10 | out/test/** 11 | .travis.yml 12 | appveyor.yml 13 | package-lock.json 14 | msbuild/** 15 | 16 | node_modules/.bin/** 17 | node_modules/bufferutil/** 18 | node_modules/utf-8-validate/** 19 | node_modules/vscode-chrome-debug-core/node_modules/ws/node_modules/bufferutil/** 20 | node_modules/vscode-chrome-debug-core/node_modules/ws/node_modules/utf-8-validate/** 21 | 22 | node_modules/vscode-chrome-debug-core/out/test/** 23 | 24 | i18n/csy 25 | i18n/trk 26 | i18n/ptb 27 | i18n/plk 28 | package.nls.cs.json 29 | package.nls.tr.json 30 | package.nls.pt-br.json 31 | package.nls.pl.json 32 | node_modules/vscode-chrome-debug-core/i18n/csy/** 33 | node_modules/vscode-chrome-debug-core/i18n/trk/** 34 | node_modules/vscode-chrome-debug-core/i18n/ptb/** 35 | node_modules/vscode-chrome-debug-core/i18n/plk/** 36 | 37 | node_modules/devtools-protocol/** -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.vsts/.vsts-ci.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: job.yml 3 | parameters: 4 | name: macOS 5 | vmImage: 'macOS-10.13' 6 | 7 | - template: job.yml 8 | parameters: 9 | name: Linux 10 | vmImage: 'ubuntu-16.04' 11 | 12 | - template: job.yml 13 | parameters: 14 | name: Windows 15 | vmImage: 'vs2017-win2016' -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/.vsts/job.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | name: '' 3 | vmImage: '' 4 | 5 | jobs: 6 | - job: ${{ parameters.name }} 7 | pool: 8 | vmImage: ${{ parameters.vmImage }} 9 | strategy: 10 | matrix: 11 | node8: 12 | nodeVersion: 8.x 13 | node10: 14 | nodeVersion: 10.x 15 | node11: 16 | nodeVersion: 11.x 17 | steps: 18 | - task: NodeTool@0 19 | displayName: Use Node 20 | inputs: 21 | versionSpec: $(nodeVersion) 22 | checkLatest: true 23 | 24 | - ${{ if eq(parameters.name, 'Windows') }}: 25 | - task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2 26 | displayName: 'Run CredScan' 27 | inputs: 28 | verboseOutput: true 29 | debugMode: false 30 | continueOnError: true 31 | 32 | - task: Npm@1 33 | displayName: npm install 34 | inputs: 35 | command: custom 36 | customCommand: install --unsafe-perms 37 | verbose: false 38 | 39 | - ${{ if eq(parameters.name, 'Linux') }}: 40 | - script: | 41 | cd '$(Build.SourcesDirectory)' 42 | 43 | export npm_package_engines_vscode='^1.19.0' 44 | node ./node_modules/vscode/bin/install 45 | 46 | - task: Npm@1 47 | displayName: npm build 48 | inputs: 49 | command: custom 50 | customCommand: run build 51 | verbose: false 52 | 53 | - task: Npm@1 54 | displayName: npm test 55 | inputs: 56 | command: custom 57 | verbose: false 58 | customCommand: test 59 | 60 | - task: Npm@1 61 | displayName: npm tslint 62 | inputs: 63 | command: custom 64 | verbose: false 65 | customCommand: 'run tslint' 66 | 67 | - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 68 | displayName: 'Component Detection' 69 | inputs: 70 | ignoreDirectories: 'testdata' 71 | 72 | - task: Npm@1 73 | displayName: npm package 74 | inputs: 75 | command: custom 76 | verbose: false 77 | customCommand: 'run package -- --packagePath="$(Build.BinariesDirectory)/vscode-node-debug2.vsix"' 78 | 79 | - task: ArchiveFiles@2 80 | displayName: Archive files 81 | inputs: 82 | includeRootFolder: false 83 | 84 | - task: PublishBuildArtifacts@1 85 | displayName: 'Publish Artifacts: drop' 86 | inputs: 87 | PathtoPublish: '$(Build.ArtifactStagingDirectory)' 88 | ArtifactName: drop 89 | publishLocation: Container 90 | 91 | - ${{ if eq(parameters.name, 'Windows') }}: 92 | - task: securedevelopmentteam.vss-secure-development-tools.build-task-uploadtotsa.TSAUpload@1 93 | displayName: 'TSA upload to Codebase: vscode-node-debug2_master Version: TsaV2' 94 | inputs: 95 | tsaVersion: TsaV2 96 | codebase: NewOrUpdate 97 | codeBaseName: 'vscode-node-debug2_master' 98 | notificationAlias: 'webdiag-extensions@microsoft.com' 99 | instanceUrlForTsaV2: DEVDIV 100 | projectNameDEVDIV: DevDiv 101 | areaPath: 'DevDiv\Client Platform\HTML Experiences\Diagnostics\Debugger' 102 | uploadAPIScan: false 103 | uploadBinSkim: false 104 | uploadFortifySCA: false 105 | uploadFxCop: false 106 | uploadModernCop: false 107 | uploadPoliCheck: false 108 | uploadPREfast: false 109 | uploadRoslyn: false 110 | uploadTSLint: false 111 | 112 | - ${{ if eq(parameters.name, 'Windows') }}: 113 | - task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2 114 | displayName: 'Publish Security Analysis Logs' 115 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 2 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Dev setup 2 | Clone this repo, run `npm install` and `gulp build`, and in VS Code run the `launch as server` launch config. This will start the adapter as a server listening on port 4712. 3 | 4 | Then in the debuggee, you can add `"debugServer": "4712"` to connect to your instance of the debug adapter, instead of the installed one. See [this page](https://code.visualstudio.com/docs/extensions/example-debuggers) for more details on debugging a debug adapter. 5 | 6 | Since most of the code for this extension is in the [vscode-chrome-debug-core](https://github.com/Microsoft/vscode-chrome-debug-core) library, if you need to make changes, then you will probably want to clone both repos. You can run `npm link` from the `vscode-chrome-debug-core` directory, and `npm link vscode-chrome-debug-core` from this directory to make this repo use your cloned version of that library. 7 | 8 | ## Testing 9 | See the project under testapp/ for a bunch of test scenarios crammed onto one page. 10 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/LICENSE.txt: -------------------------------------------------------------------------------- 1 | VS Code - Debugger for Chrome 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/README.md: -------------------------------------------------------------------------------- 1 | # Node Debug 2 | [![Build Status](https://vscode.visualstudio.com/_apis/public/build/definitions/d3aa0b57-eb08-43b8-9aec-0c0a0d5d5ad0/8/badge)](https://vscode.visualstudio.com/vscode-node-debug2/_build/index?definitionId=8) 3 | 4 | This extension is bundled with Visual Studio Code and together with **Node Debug (legacy)** forms the [Node.js](https://nodejs.org) debugging experience. 5 | 6 | **Node Debug** is the debugger for Node.js versions >= 8.0. 7 | 8 | See a general overview of debugging in VS Code [here](https://code.visualstudio.com/docs/editor/debugging). 9 | 10 | Documentation for Node.js specific debugging can be found [here](https://code.visualstudio.com/docs/nodejs/nodejs-debugging). 11 | 12 | Please submit bugs and feature requests to the [VS Code repository](https://github.com/microsoft/vscode/issues). 13 | 14 | 15 | ## License 16 | 17 | Copyright (c) Microsoft Corporation. All rights reserved. 18 | 19 | Licensed under the [MIT](LICENSE.txt) License. 20 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/ThirdPartyNotices.txt: -------------------------------------------------------------------------------- 1 | This project may use or incorporate third party material from the projects listed below. The original copyright notice and the license under which Microsoft received such third party material are set forth below. Microsoft reserves all other rights not expressly granted, whether by implication, estoppel or otherwise. 2 | 3 | websockets-ws 4 | 5 | (The MIT License) 6 | 7 | Copyright (c) 2011 Einar Otto Stangvik 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/chs/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "路径上找不到运行时 {0}。是否安装了 {0}?", 8 | "VSND2011": "无法在终端启动调试目标({0})。", 9 | "VSND2017": "无法启动调试目标({0})。", 10 | "VSND2035": "无法调试扩展({0})。", 11 | "VSND2028": "未知的控制台类型 {0}。", 12 | "VSND2002": "无法启动程序 {0};配置源映射可能有用。", 13 | "VSND2003": "无法启动程序 {0};设置 {1} 属性可能有用。", 14 | "VSND2009": "无法启动程序 {0},因为找不到相应的 JavaScript。", 15 | "VSND2029": "无法从文件加载环境变量({0})。" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/chs/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "找不到用于安装 Linux 的 Windows 子系统。", 8 | "program.path.case.mismatch.warning": "程序路径使用不同大写字符作为磁盘上的文件;这可能导致命不中断点。", 9 | "node.console.title": "节点调试控制台", 10 | "attribute.path.not.exist": "属性 {0} 不存在({1})。", 11 | "attribute.path.not.absolute": "属性 {0} 不是绝对路径({1});请考虑添加“{2}”作为前缀以使其成为绝对路径。", 12 | "VSND2001": "路径上找不到运行时 {0}。请确保已安装 {0}。", 13 | "more.information": "详细信息", 14 | "origin.from.node": "Node.js 中的只读内容", 15 | "origin.core.module": "只读核心模块" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/chs/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Node.js 调试支持", 8 | "node.label": "Node.js v6.3+ 通过检查器协议", 9 | "node.sourceMaps.description": "使用 JavaScript 源映射(如存在)。", 10 | "outDir.deprecationMessage": "已弃用属性 \"outDir\",改为使用 \"outFiles\"。", 11 | "node.outFiles.description": "如果启用了源映射,这些 glob 模式会指定生成的 JavaScript 文件。如果模式以 `!` 开头,则会排除这些文件。如果未指定,生成的代码应位于与其源相同的目录。", 12 | "node.stopOnEntry.description": "启动后自动停止程序。", 13 | "node.port.description": "要附加到的调试端口。默认值为 9229。", 14 | "node.address.description": "调试端口的 TCP/IP 地址。默认值为 \"localhost\"。", 15 | "node.timeout.description": "重试此毫秒数以连接到 Node.js。默认值为 10000 毫秒。", 16 | "node.smartStep.description": "通过单步执行自动生成的代码不能映射回原始源。", 17 | "node.enableSourceMapCaching.description": "通过 URL 下载源映射时,将其缓存到磁盘上。", 18 | "node.diagnosticLogging.description": "为 true 时,该适配器会将其自身诊断信息记录到控制台", 19 | "node.diagnosticLogging.deprecationMessage": "已弃用 \"diagnosticLogging\"。请改用 \"trace\"。", 20 | "node.verboseDiagnosticLogging.description": "为 true 时,适配器将记录客户端和目标的所有流量(以及由 diagnosticLogging 记录的信息)", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "已弃用 \"verboseDiagnosticLogging\"。请改用 \"trace\"。", 22 | "node.trace.description": "为 true 时,调试器将在文件中记录跟踪信息。为 verbose 时,还会在控制台中显示日志。", 23 | "node.sourceMapPathOverrides.description": "一组映射,用于将源文件的位置从 sourcemap 中显示的位置重写到磁盘上的相应位置。有关详细信息,请参阅自述文件。", 24 | "node.skipFiles.description": "文件或文件夹名称,或 glob 模式的数组,在调试时跳过。", 25 | "node.restart.description": "终止 Node.js 后重启会话。", 26 | "node.showAsyncStacks.description": "显示导致当前调用堆栈的异步调用。", 27 | "node.disableOptimisticBPs.description": "请勿在任何文件中设置断点,除非该文件已加载 sourcemap。", 28 | "node.launch.program.description": "程序的绝对路径。", 29 | "node.launch.console.description": "启动调试目标的位置: 内部控制台、集成的终端或外部终端。", 30 | "node.launch.args.description": "传递给程序的命令行参数。", 31 | "node.launch.cwd.description": "正在调试的程序的工作目录的绝对路径。", 32 | "node.launch.runtimeExecutable.description": "要使用的运行时。路径上会提供绝对路径或运行时的名称。如果假定省略 `node`。", 33 | "node.launch.runtimeArgs.description": "传递给运行时可执行文件的可选参数。", 34 | "node.launch.env.description": "传递到程序的环境变量。`null` 值从环境中删除该变量。", 35 | "node.launch.envFile.description": "包含环境变量定义的文件的绝对路径。", 36 | "node.launch.outputCapture.description": "捕获输出消息的位置: 调试 API 或 stdout/stderr 流。", 37 | "node.launch.config.name": "启动", 38 | "node.attach.processId.description": "要附加到的进程 ID。", 39 | "node.attach.localRoot.description": "本地源根对应于 \"remoteRoot\"。", 40 | "node.attach.remoteRoot.description": "远程主机的源根目录。", 41 | "node.attach.config.name": "附加", 42 | "node.processattach.config.name": "附加到进程", 43 | "toggle.skipping.this.file": "跳过此文件的开关", 44 | "extensionHost.label": "VS Code 扩展开发", 45 | "extensionHost.launch.runtimeExecutable.description": "VS Code 的绝对路径。", 46 | "extensionHost.launch.stopOnEntry.description": "启动后自动停止扩展主机。", 47 | "extensionHost.launch.env.description": "传递给扩展主机的环境变量。", 48 | "extensionHost.snippet.launch.label": "VS Code 扩展开发", 49 | "extensionHost.snippet.launch.description": "在调试模式下启动 VS Code 扩展", 50 | "extensionHost.launch.config.name": "启动扩展" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/cht/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "在 PATH 上找不到執行階段 '{0}'。已安裝了 '{0}' 嗎?", 8 | "VSND2011": "在終端機 ({0}) 中無法啟動偵錯目標。", 9 | "VSND2017": "無法啟動偵錯目標 ({0})。", 10 | "VSND2035": "無法偵錯延伸模組 ({0})。", 11 | "VSND2028": "未知的主控台類型 '{0}'。", 12 | "VSND2002": "無法啟動程式 '{0}'; 設定來源對應可能有所助益。", 13 | "VSND2003": "無法啟動程式 '{0}'; 設定 '{1}' 屬性可能有所助益。", 14 | "VSND2009": "因為找不到相對應的 JavaScript,所以無法啟動程式 '{0}'。", 15 | "VSND2029": "無法從檔案 ({0}) 載入環境變數。" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/cht/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "找不到 Windows 子系統可進行 Linux 安裝。", 8 | "program.path.case.mismatch.warning": "程式路徑使用的大小寫字元不同於磁碟上的檔案。這可能導致無法命中中斷點。", 9 | "node.console.title": "節點偵錯主控台", 10 | "attribute.path.not.exist": "屬性 '{0}' 不存在 ('{1}')。", 11 | "attribute.path.not.absolute": "屬性 '{0}' 不是絕對的 ('{1}'); 請考慮新增前置詞 '{2}',使其變成絕對的。", 12 | "VSND2001": "在 PATH 上找不到執行階段 '{0}'。請務必安裝 '{0}'。", 13 | "more.information": "其他資訊", 14 | "origin.from.node": "Node.js 中的唯讀內容", 15 | "origin.core.module": "唯讀核心模組" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/cht/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Node.js 偵錯支援", 8 | "node.label": "透過 Inspector Protocol 的 Node.js v6.3+", 9 | "node.sourceMaps.description": "使用 JavaScript 來源對應 (若存在)。", 10 | "outDir.deprecationMessage": "屬性 'outDir' 已淘汰,請改用 'outFiles'。", 11 | "node.outFiles.description": "若已啟用來源對應,則這些 glob 模式會指定產生的 JavaScript 檔案。若模式的開頭為 `!` ,即會排除檔案。若未指定,則產生的程式碼應與其來源位於相同的目錄中。", 12 | "node.stopOnEntry.description": "啟動後自動停止程式。", 13 | "node.port.description": "偵錯要連結的連接埠。預設值為 9229。", 14 | "node.address.description": "偵錯連接埠的 TCP/IP 位址。預設為 'localhost'。", 15 | "node.timeout.description": "重試連線到 Node.js 的毫秒數。預設值為 10000 毫秒。", 16 | "node.smartStep.description": "自動逐步執行產生的程式碼 (無法對應回原始來源)。", 17 | "node.enableSourceMapCaching.description": "當從 URL 下載 sourcemap 時,將其快取到磁碟。", 18 | "node.diagnosticLogging.description": "若為 true,配接器會將其診斷資訊記錄到主控台", 19 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging' 已淘汰。請改用 'trace'。", 20 | "node.verboseDiagnosticLogging.description": "若為 true,配接器會記錄用戶端和目標的所有流量 (以及 'diagnosticLogging' 所記錄的資訊)", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging' 即將淘汰。請改用 'trace'。", 22 | "node.trace.description": "若為 'true',偵錯工具會將追蹤資訊記錄到檔案。若為 'verbose',則也會在主控台中顯示記錄。", 23 | "node.sourceMapPathOverrides.description": "一組對應,用於將來源檔案的位置從 sourcemap 指出的位置重寫成磁碟上的位置。如需詳細資訊,請參閱讀我檔案。", 24 | "node.skipFiles.description": "要在偵錯時跳過的檔案或資料夾名稱陣列,或 glob 模式陣列。", 25 | "node.restart.description": "請在 Node.js 終止之後,重新啟動工作階段。", 26 | "node.showAsyncStacks.description": "顯示導致目前呼叫堆疊的非同步呼叫。", 27 | "node.disableOptimisticBPs.description": "在為該檔案載入 sourcemap 之前,請勿在任何檔案中設定中斷點。", 28 | "node.launch.program.description": "到達程式的絕對路徑。", 29 | "node.launch.console.description": "啟動偵錯目標的位置: 內部主控台、整合式終端機或外部終端機。", 30 | "node.launch.args.description": "傳遞至程式的命令列引數。", 31 | "node.launch.cwd.description": "到達程式 (正進行偵錯) 工作目錄的絕對路徑。", 32 | "node.launch.runtimeExecutable.description": "要使用的執行階段。可以是 PATH 上執行階段的絕對路徑或名稱。若予省略,將使用 'node'。", 33 | "node.launch.runtimeArgs.description": "傳遞到執行階段可執行檔的選擇性引數。", 34 | "node.launch.env.description": "傳遞至程式的環境變數。值 'null' 會從環境移除該變數。", 35 | "node.launch.envFile.description": "包含環境變數定義的檔案絕對路徑。", 36 | "node.launch.outputCapture.description": "擷取輸出訊息的來源: 偵錯 API 或 stdout/stderr 串流。", 37 | "node.launch.config.name": "啟動", 38 | "node.attach.processId.description": "要連結的處理序之識別碼。", 39 | "node.attach.localRoot.description": "對應到 'remoteRoot' 的本機來源根目錄。", 40 | "node.attach.remoteRoot.description": "遠端主機來源根目錄。", 41 | "node.attach.config.name": "連結", 42 | "node.processattach.config.name": "附加至處理序", 43 | "toggle.skipping.this.file": "切換跳過此檔案", 44 | "extensionHost.label": "VS Code 延伸模組開發", 45 | "extensionHost.launch.runtimeExecutable.description": "到達 VS 程式碼的絕對路徑。", 46 | "extensionHost.launch.stopOnEntry.description": "啟動後自動停止延伸模組主機。", 47 | "extensionHost.launch.env.description": "傳遞至延伸模組主機的環境變數。", 48 | "extensionHost.snippet.launch.label": "VS Code 延伸模組開發", 49 | "extensionHost.snippet.launch.description": "在偵錯模式下啟動 VS 程式碼延伸模組", 50 | "extensionHost.launch.config.name": "啟動延伸模組" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/csy/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "Modul runtime {0} nelze na cestě najít. Je {0} nainstalovaný?", 8 | "VSND2011": "Nelze spustit cíl ladění v terminálu ({0}).", 9 | "VSND2017": "Nelze spustit cíl ladění ({0}).", 10 | "VSND2035": "Nelze ladit rozšíření ({0}).", 11 | "VSND2028": "Neznámý typ konzoly {0}", 12 | "VSND2002": "Program {0} nelze spustit. Pomoct by mohla konfigurace mapování zdrojů.", 13 | "VSND2003": "Program {0} nelze spustit. Pomoct by mohlo nastavení atributu {1}.", 14 | "VSND2009": "Program {0} nelze spustit, protože nelze najít odpovídající JavaScript.", 15 | "VSND2029": "Nelze načíst proměnné prostředí ze souboru ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/csy/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Instalaci subsystému Windows pro Linux nelze najít.", 8 | "program.path.case.mismatch.warning": "Cesta k programu používá jinou velikost písma ve znaku než soubor na disku. Může to způsobit, že nedojde k dosažení zarážek.", 9 | "node.console.title": "Konzola ladění uzlů", 10 | "attribute.path.not.exist": "Atribut {0} neexistuje ({1}).", 11 | "attribute.path.not.absolute": "Atribut {0} není absolutní ({1}). Zvažte přidání předpony {2}, aby byl tento atribut absolutní.", 12 | "VSND2001": "Modul runtime {0} nelze na cestě najít. Ujistěte se, jestli je {0} nainstalovaný.", 13 | "more.information": "Další informace", 14 | "origin.from.node": "obsah jen pro čtení z Node.js", 15 | "origin.core.module": "modul Core jen pro čtení" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/csy/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Podpora ladění Node.js", 8 | "node.label": "Node.js v6.3+ prostřednictvím Inspector Protocolu", 9 | "node.sourceMaps.description": "Použijí se mapování zdrojů JavaScriptu (pokud existují).", 10 | "outDir.deprecationMessage": "Atribut outDir je zastaralý, místo něho použijte atribut outFiles.", 11 | "node.outFiles.description": "Při povolení mapování zdrojů tyto vzory glob určují vygenerované soubory JavaScriptu. Pokud vzor začíná znakem !, budou soubory vyloučeny. Pokud není zadán, bude se vygenerovaný kód očekávat ve stejném adresáři jako jeho zdroj.", 12 | "node.stopOnEntry.description": "Po spuštění se program automaticky zastaví.", 13 | "node.port.description": "Port pro ladění, ke kterému se má provést připojení. Výchozí hodnota je 9229.", 14 | "node.address.description": "Adresa TCP/IP portu pro ladění. Výchozí hodnota je localhost.", 15 | "node.timeout.description": "Opakované pokusy o připojení k Node.js se budou provádět tento počet milisekund. Výchozí hodnota je 10000 ms.", 16 | "node.smartStep.description": "Provede se automatické krokování vygenerovaného kódu, který nelze namapovat zpět do původního zdroje.", 17 | "node.enableSourceMapCaching.description": "Po stažení mapování zdrojů z adresy URL je uložte do mezipaměti na disku.", 18 | "node.diagnosticLogging.description": "V případě hodnoty true adaptér zaznamená do konzoly svoje vlastní diagnostické informace.", 19 | "node.diagnosticLogging.deprecationMessage": "Atribut diagnosticLogging je zastaralý. Místo něho použijte atribut trace.", 20 | "node.verboseDiagnosticLogging.description": "V případě hodnoty true adaptér zaznamenává všechny přenosy s klientem a cílem (a také informace zaznamenané prostřednictvím atributu diagnosticLogging).", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "Atribut verboseDiagnosticLogging je zastaralý. Místo něho použijte atribut trace.", 22 | "node.trace.description": "V případě hodnoty true bude ladicí program zaznamenávat informace o trasování do souboru. V případě hodnoty verbose se budou protokoly zobrazovat také v konzole.", 23 | "node.sourceMapPathOverrides.description": "Sada mapování pro přepsání umístění zdrojových souborů z umístění podle zdrojového mapování na jejich umístění na disku. Podrobnosti najdete v souboru README.", 24 | "node.skipFiles.description": "Pole s názvy souborů či složek nebo vzory glob, které se mají při ladění přeskočit", 25 | "node.restart.description": "Po ukončení Node.js se relace restartuje.", 26 | "node.showAsyncStacks.description": "Zobrazí se asynchronní volání, která vedla k aktuálnímu zásobníku volání.", 27 | "node.disableOptimisticBPs.description": "Nenastavujte zarážky do žádného souboru, dokud se pro daný soubor nenačte mapování zdroje.", 28 | "node.launch.program.description": "Absolutní cesta k programu", 29 | "node.launch.console.description": "Určuje, kde se má spustit cíl ladění: vnitřní konzola, integrovaný terminál nebo externí terminál.", 30 | "node.launch.args.description": "Argumenty příkazového řádku, které se předávají do programu", 31 | "node.launch.cwd.description": "Absolutní cesta k pracovnímu adresáři laděného programu", 32 | "node.launch.runtimeExecutable.description": "Modul runtime, který se má použít. Buď absolutní cesta, nebo název modulu runtime, který je k dispozici na dané cestě. Pokud je vynechaný, předpokládá se název node.", 33 | "node.launch.runtimeArgs.description": "Nepovinné argumenty se předaly do spustitelného souboru modulu runtime.", 34 | "node.launch.env.description": "Proměnné prostředí se předaly do programu. Hodnota null odebere proměnnou z prostředí.", 35 | "node.launch.envFile.description": "Absolutní cesta k souboru, který obsahuje definice proměnných prostředí", 36 | "node.launch.outputCapture.description": "Určuje, odkud se mají zachycovat výstupní zprávy: rozhraní API pro ladění nebo streamy stdout/stderr.", 37 | "node.launch.config.name": "Spuštění", 38 | "node.attach.processId.description": "ID procesu, ke kterému se má provést připojení", 39 | "node.attach.localRoot.description": "Kořenový adresář místního zdroje, který odpovídá atributu remoteRoot", 40 | "node.attach.remoteRoot.description": "Kořenový adresář zdrojového kódu vzdáleného hostitele", 41 | "node.attach.config.name": "Připojit", 42 | "node.processattach.config.name": "Připojit k procesu", 43 | "toggle.skipping.this.file": "Přepnout možnost přeskočení tohoto souboru", 44 | "extensionHost.label": "Vývoj rozšíření VS Code", 45 | "extensionHost.launch.runtimeExecutable.description": "Absolutní cesta k VS Code", 46 | "extensionHost.launch.stopOnEntry.description": "Po spuštění automaticky zastaví hostitele rozšíření.", 47 | "extensionHost.launch.env.description": "Proměnné prostředí se předaly hostiteli rozšíření.", 48 | "extensionHost.snippet.launch.label": "Vývoj rozšíření VS Code", 49 | "extensionHost.snippet.launch.description": "Spustit rozšíření VS Code v režimu ladění", 50 | "extensionHost.launch.config.name": "Spustit rozšíření" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/deu/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "Die Runtime \"{0}\" wurde nicht in PATH gefunden. Ist \"{0}\" installiert?", 8 | "VSND2011": "Das Debugziel im Terminal kann nicht gestartet werden ({0}).", 9 | "VSND2017": "Das Debugziel kann nicht gestartet werden ({0}).", 10 | "VSND2035": "Debuggen der Erweiterung nicht möglich ({0}).", 11 | "VSND2028": "Unbekannter Konsolentyp \"{0}\".", 12 | "VSND2002": "Das Programm \"{0}\" kann nicht gestartet werden. Möglicherweise kann das Problem durch Konfigurieren von Quellzuordnungen behoben werden.", 13 | "VSND2003": "Das Programm \"{0}\" kann nicht gestartet werden. Möglicherweise kann das Problem durch Festlegen des Attributs \"{1}\" behoben werden.", 14 | "VSND2009": "Das Programm \"{0}\" kann nicht gestartet werden, weil das zugehörige JavaScript nicht gefunden wurde.", 15 | "VSND2029": "Umgebungsvariablen können nicht aus Datei geladen werden ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/deu/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Das Windows-Subsystem für die Linux-Installation wurde nicht gefunden.", 8 | "program.path.case.mismatch.warning": "Der Programmpfad verwendet eine andere Groß-/Kleinschreibung als die Datei auf dem Datenträger. Dies kann dazu führen, dass Haltepunkte nicht wirksam sind.", 9 | "node.console.title": "Node-Debugkonsole", 10 | "attribute.path.not.exist": "Das Attribut \"{0}\" ist nicht vorhanden ({1}).", 11 | "attribute.path.not.absolute": "Das Attribut \"{0}\" ist nicht absolut ({1}). Erwägen Sie das Hinzufügen von \"{2}\" als Präfix, um ein absolutes Attribut zu erhalten.", 12 | "VSND2001": "Die Runtime \"{0}\" wurde nicht in PATH gefunden. Stellen Sie sicher, dass \"{0}\" installiert ist.", 13 | "more.information": "Weitere Informationen", 14 | "origin.from.node": "Schreibgeschützter Inhalt aus Node.js", 15 | "origin.core.module": "Schreibgeschütztes Kernmodul" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/esn/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "No se encuentra el entorno de ejecución \"{0}\" en PATH. ¿Se ha instalado \"{0}\"?", 8 | "VSND2011": "No se puede iniciar el destino de depuración en el terminal ({0}).", 9 | "VSND2017": "No se puede iniciar el destino de depuración ({0}).", 10 | "VSND2035": "No se puede depurar la extensión ({0}).", 11 | "VSND2028": "Tipo de consola \"{0}\" desconocido.", 12 | "VSND2002": "No se puede iniciar el programa \"{0}\". Configurar mapas de origen puede ser útil.", 13 | "VSND2003": "No se puede iniciar el programa \"{0}\". Establecer el atributo \"{1}\" puede ser útil.", 14 | "VSND2009": "No se puede iniciar el programa \"{0}\" porque no se encuentra el elemento JavaScript correspondiente.", 15 | "VSND2029": "No se pueden cargar las variables de entorno del archivo ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/esn/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "No se encuentra el subsistema de Windows para la instalación de Linux.", 8 | "program.path.case.mismatch.warning": "El uso de mayúsculas y minúsculas en la ruta de acceso del programa no es igual al del archivo en disco. Esto puede hacer que no se llegue a los puntos de interrupción.", 9 | "node.console.title": "Consola de depuración de Node", 10 | "attribute.path.not.exist": "El atributo \"{0}\" no existe (\"{1}\").", 11 | "attribute.path.not.absolute": "El atributo \"{0}\" no es absoluto (\"{1}\"). Pruebe a agregar \"{2}\" como prefijo para hacerlo absoluto.", 12 | "VSND2001": "No se encuentra el entorno de ejecución \"{0}\" en PATH. Asegúrese de haber instalado \"{0}\".", 13 | "more.information": "Más información", 14 | "origin.from.node": "contenido de solo lectura de Node.js", 15 | "origin.core.module": "módulo principal de solo lectura" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/esn/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Compatibilidad con la depuración de Node.js", 8 | "node.label": "Node.js v6.3+ mediante protocolo inspector", 9 | "node.sourceMaps.description": "Se usan los mapas de origen de JavaScript (si existen).", 10 | "outDir.deprecationMessage": "El atributo \"outDir\" está en desuso, use \"outFiles\" en su lugar.", 11 | "node.outFiles.description": "Si los mapas de origen están habilitados, estos patrones globales especifican los archivos JavaScript generados. Si un patrón comienza con '!' los archivos se excluyen. Si no se especifica, el código generado se espera en el mismo directorio que su origen.", 12 | "node.stopOnEntry.description": "El programa se detiene automáticamente tras el inicio.", 13 | "node.port.description": "El puerto de depuración al que se va a asociar. El valor predeterminado es 9229.", 14 | "node.address.description": "Dirección TCP/IP del puerto de depuración. El valor predeterminado es \"localhost\".", 15 | "node.timeout.description": "Vuelva a probar con este número de milisegundos para conectarse a Node.js. El valor predeterminado es 10000 ms.", 16 | "node.smartStep.description": "Explore automáticamente el código generado que no se puede volver a asignar al código fuente original.", 17 | "node.enableSourceMapCaching.description": "Cuando los mapas de origen se descargan desde una dirección URL, almacénelos en la memoria caché del disco.", 18 | "node.diagnosticLogging.description": "Si es true, el adaptador registra su propia información de diagnóstico en la consola.", 19 | "node.diagnosticLogging.deprecationMessage": "\"diagnosticLogging\" está en desuso. Use \"trace\" en su lugar.", 20 | "node.verboseDiagnosticLogging.description": "Si es true, el adaptador registra todo el tráfico en el cliente y el destino (así como la información que \"diagnosticLogging\" registra)", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "\"verboseDiagnosticLogging\" está en desuso. Use \"trace\" en su lugar.", 22 | "node.trace.description": "Si es \"true\", el depurador registrará información de seguimiento en un archivo. Si es \"verbose\", también mostrará los registros en la consola.", 23 | "node.sourceMapPathOverrides.description": "Conjunto de asignaciones para reescribir las ubicaciones de los archivos de origen en sus ubicaciones en el disco, a partir de lo que indica el mapa de origen. Consulte el archivo LÉAME para obtener más detalles.", 24 | "node.skipFiles.description": "Matriz de nombres de archivo o carpeta, o de patrones globales, que se van a omitir en la depuración.", 25 | "node.restart.description": "Reinicia la sesión cuando Node.js ha terminado.", 26 | "node.showAsyncStacks.description": "Muestra las llamadas asincrónicas que llevan a la pila de llamadas actual.", 27 | "node.disableOptimisticBPs.description": "No establezca puntos de interrupción en ningún archivo hasta que se haya cargado un mapa de origen para el archivo.", 28 | "node.launch.program.description": "Ruta de acceso absoluta al programa.", 29 | "node.launch.console.description": "Lugar donde debe iniciarse el destino de depuración: consola interna, terminal integrado o terminal externo.", 30 | "node.launch.args.description": "Argumentos de la línea de comandos que se pasan al programa.", 31 | "node.launch.cwd.description": "Ruta de acceso absoluta al directorio de trabajo del programa que se está depurando.", 32 | "node.launch.runtimeExecutable.description": "Entorno de ejecución que se va a usar. Una ruta de acceso absoluta o el nombre de un entorno de ejecución disponible en PATH. Si se omite, se asume el valor de \"node\".", 33 | "node.launch.runtimeArgs.description": "Argumentos opcionales pasados al ejecutable del entorno de ejecución.", 34 | "node.launch.env.description": "Variables de entorno pasadas al programa. El valor \"null\" elimina la variable del entorno.", 35 | "node.launch.envFile.description": "Ruta de acceso absoluta a un archivo que contiene definiciones de variables de entorno.", 36 | "node.launch.outputCapture.description": "Ubicación desde donde se van a capturar los mensajes de salida: la API de depuración o las secuencias stdout/stderr.", 37 | "node.launch.config.name": "Iniciar", 38 | "node.attach.processId.description": "Identificador del proceso al que se va a asociar.", 39 | "node.attach.localRoot.description": "Raíz de origen local que corresponde a \"remoteRoot\".", 40 | "node.attach.remoteRoot.description": "Raíz de origen del host remoto.", 41 | "node.attach.config.name": "Asociar", 42 | "node.processattach.config.name": "Asociar al proceso", 43 | "toggle.skipping.this.file": "Cambiar y omitir este archivo", 44 | "extensionHost.label": "Desarrollo de extensiones de VS Code", 45 | "extensionHost.launch.runtimeExecutable.description": "Ruta de acceso absoluta a VS Code.", 46 | "extensionHost.launch.stopOnEntry.description": "El host de extensiones se detiene automáticamente tras el inicio.", 47 | "extensionHost.launch.env.description": "Variables de entorno pasadas al host de extensiones.", 48 | "extensionHost.snippet.launch.label": "Desarrollo de extensiones de VS Code", 49 | "extensionHost.snippet.launch.description": "Iniciar una extensión de VS Code en modo de depuración", 50 | "extensionHost.launch.config.name": "Extensión de inicio" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/fra/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "Le runtime '{0}' est introuvable dans PATH. Est-ce que '{0}' est installé ?", 8 | "VSND2011": "Impossible de lancer la cible de débogage dans le terminal ({0}).", 9 | "VSND2017": "Impossible de lancer la cible de débogage ({0}).", 10 | "VSND2035": "Impossible de déboguer l'extension ({0}).", 11 | "VSND2028": "Type de console inconnu '{0}'.", 12 | "VSND2002": "Impossible de lancer le programme '{0}'. Essayez éventuellement de configurer les mappages de sources.", 13 | "VSND2003": "Impossible de lancer le programme '{0}'. La définition de l'attribut '{1}' peut éventuellement permettre de résoudre le problème.", 14 | "VSND2009": "Impossible de lancer le programme '{0}', car le code JavaScript correspondant est introuvable.", 15 | "VSND2029": "Impossible de charger les variables d'environnement à partir du fichier ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/fra/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "L'installation du sous-système Windows pour Linux est introuvable.", 8 | "program.path.case.mismatch.warning": "Le chemin du programme utilise un nom de fichier contenant des caractères avec des casses différentes, ce qui peut empêcher d'atteindre les points d'arrêt.", 9 | "node.console.title": "Console de débogage Node", 10 | "attribute.path.not.exist": "L'attribut '{0}' n'existe pas ('{1}').", 11 | "attribute.path.not.absolute": "L'attribut '{0}' n'est pas absolu ('{1}'). Ajoutez le préfixe '{2}' pour le rendre absolu.", 12 | "VSND2001": "Le runtime '{0}' est introuvable dans PATH. Vérifiez que '{0}' est installé.", 13 | "more.information": "Plus d'informations", 14 | "origin.from.node": "contenu en lecture seule en provenance de Node.js", 15 | "origin.core.module": "module de base en lecture seule" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/fra/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Prise en charge du débogage de Node.js", 8 | "node.label": "Node.js v6.3+ via le protocole Inspector", 9 | "node.sourceMaps.description": "Utilisez des mappages de sources JavaScript (le cas échéant).", 10 | "outDir.deprecationMessage": "Attribut 'outDir' déprécié. Utilisez 'outFiles' à la place.", 11 | "node.outFiles.description": "Si les mappages de sources sont activés, ces modèles Glob spécifient les fichiers JavaScript générés. Si un modèle commence par '!', les fichiers sont exclus. En l'absence de spécification, le code généré est censé se trouver dans le même répertoire que sa source.", 12 | "node.stopOnEntry.description": "Arrêtez automatiquement le programme après le lancement.", 13 | "node.port.description": "Port de débogage auquel effectuer l'attachement. La valeur par défaut est 9 229.", 14 | "node.address.description": "Adresse TCP/IP du port de débogage. La valeur par défaut est 'localhost'.", 15 | "node.timeout.description": "Réessayez de vous connecter à Node.js pendant le nombre de millisecondes spécifié. La valeur par défaut est 10 000 ms.", 16 | "node.smartStep.description": "Exécutez pas à pas de façon automatique le code généré qui ne peut être mappé à la source d'origine.", 17 | "node.enableSourceMapCaching.description": "Quand des mappages de sources sont téléchargés à partir d'une URL, mettez-les en cache sur le disque.", 18 | "node.diagnosticLogging.description": "Quand la valeur est true, l'adaptateur journalise ses propres informations de diagnostic dans la console", 19 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging' est déprécié. Utilisez 'trace' à la place.", 20 | "node.verboseDiagnosticLogging.description": "Quand la valeur est true, l'adaptateur journalise l'ensemble du trafic lié au client et à la cible (ainsi que les informations journalisées par 'diagnosticLogging')", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging' est déprécié. Utilisez 'trace' à la place.", 22 | "node.trace.description": "Quand la valeur est 'true', le débogueur journalise les informations de traçage dans un fichier. Quand la valeur est 'verbose', il affiche également les journaux dans la console.", 23 | "node.sourceMapPathOverrides.description": "Ensemble de mappages pour la réécriture des emplacements des fichiers sources à partir des indications du mappage de source vers les emplacements appropriés sur le disque. Pour plus d'informations, consultez le README.", 24 | "node.skipFiles.description": "Groupe de noms de fichiers ou de dossiers, ou modèles Glob, à ignorer durant le débogage.", 25 | "node.restart.description": "Redémarrez la session une fois l'exécution de Node.js effectuée.", 26 | "node.showAsyncStacks.description": "Affiche les appels asynchrones ayant conduit à la pile des appels actuelle.", 27 | "node.disableOptimisticBPs.description": "Ne définissez pas de points d'arrêt dans un fichier tant qu'un mappage de source n'a pas été chargé pour ce fichier.", 28 | "node.launch.program.description": "Chemin absolu du programme.", 29 | "node.launch.console.description": "Où lancer la cible de débogage : console interne, terminal intégré ou terminal externe.", 30 | "node.launch.args.description": "Arguments de ligne de commande passés au programme.", 31 | "node.launch.cwd.description": "Chemin absolu du répertoire de travail du programme débogué.", 32 | "node.launch.runtimeExecutable.description": "Runtime à utiliser. Chemin absolu ou nom d'un runtime disponible dans PATH. En cas d'omission, 'node' est choisi par défaut.", 33 | "node.launch.runtimeArgs.description": "Arguments facultatifs passés à l'exécutable du runtime.", 34 | "node.launch.env.description": "Variables d'environnement passées au programme. La valeur 'null' supprime la variable de l'environnement.", 35 | "node.launch.envFile.description": "Chemin absolu d'un fichier contenant des définitions de variables d'environnement.", 36 | "node.launch.outputCapture.description": "Emplacement de capture des messages de sortie : API de débogage ou flux stdout/stderr.", 37 | "node.launch.config.name": "Lancer", 38 | "node.attach.processId.description": "ID du processus à attacher.", 39 | "node.attach.localRoot.description": "Racine source locale qui correspond à 'remoteRoot'.", 40 | "node.attach.remoteRoot.description": "Racine source de l'hôte distant.", 41 | "node.attach.config.name": "Joindre", 42 | "node.processattach.config.name": "Attacher au processus", 43 | "toggle.skipping.this.file": "Ignorer/Ne pas ignorer ce fichier", 44 | "extensionHost.label": "Développement d'extension VS Code", 45 | "extensionHost.launch.runtimeExecutable.description": "Chemin absolu de VS Code.", 46 | "extensionHost.launch.stopOnEntry.description": "Arrêtez automatiquement l'hôte d'extension après le lancement.", 47 | "extensionHost.launch.env.description": "Variables d'environnement passées à l'hôte d'extension.", 48 | "extensionHost.snippet.launch.label": "Développement d'extension VS Code", 49 | "extensionHost.snippet.launch.description": "Lancer une extension VS Code en mode débogage", 50 | "extensionHost.launch.config.name": "Lancer l'extension" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/hun/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "A(z) '{0}' futtatókörnyezet nem található a PATH-ban.", 8 | "VSND2011": "Nem sikerült elindítani a hibakeresési célpontot a terminálban ({0}).", 9 | "VSND2017": "Nem sikerült elindítani a hibakeresési célpontot ({0}).", 10 | "VSND2028": "Ismeretlen konzoltípus: '{0}'.", 11 | "VSND2002": "Nem sikerült elindítani a(z) '{0}' programot; a forráskódtérképek bekonfigurálása segíthet.", 12 | "VSND2003": "Nem sikerült elindítani a(z) '{0}' programot; a(z) '{1}' attribútum beállítása segíthet.", 13 | "VSND2029": "Nem sikerült betölteni fájlból a környezeti változókat ({0})." 14 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/hun/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "program.path.case.mismatch.warning": "A program elérési útja különbözik kis- és nagybetűk tekintetében a lemezen lévő fájltól; ez azt eredményezheti, hogy a töréspontok nem lesznek érintve.", 8 | "node.console.title": "Node hibakeresési konzol", 9 | "attribute.path.not.exist": "A(z) '{0}' attribútum nem létezik ('{1}').", 10 | "attribute.path.not.absolute": "A(z) '{0}' attribútum nem abszolút ('{1}'); adja hozzá a(z) '{2}' előtagot, hogy abszolút legyen.", 11 | "VSND2001": "A(z) '{0}' futtatókörnyezet nem található a PATH-ban.", 12 | "more.information": "További információ", 13 | "origin.from.node": "írásvédett tartalom a Node.js-től", 14 | "origin.core.module": "írásvédett központi modul" 15 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/hun/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Visual Studio Code hibakeresési kiegészítő Node.js v6.3+-hoz. Az új Inspector protokollt használja.", 8 | "node.label": "Node.js v6.3+ Inspector protokollon keresztül", 9 | "node.sourceMaps.description": "JavaScript-kódtérképek használata (ha léteznek).", 10 | "outDir.deprecationMessage": "Az 'outDir' attribútum elavult, használja helyette az 'outFiles'-t!", 11 | "node.outFiles.description": "Ha a forráskódtérképek engedélyezve vannak, ez a globális minta írja le a generált JavaScript-fájlok elérési útjait. Ha a minta '!'-lel kezdődik, az illeszkedő fájlok ki lesznek zárva. Ha nincs megadva, a generált kódnak ugyanabban a mappában kell lennie, mint a forrása. ", 12 | "node.stopOnEntry.description": "Program automatikus leállítása indítás után.", 13 | "node.port.description": "A hibakeresőhöz való csatlakozáshoz használt port. Alapértelmezett értéke 9229.", 14 | "node.address.description": "A hibakeresési port TCP/IP-címe. Alapértelmezett értéke: 'localhost'.", 15 | "node.timeout.description": "Meghatározza, hány ezredmásodpercig próbál kapcsolódni a Node.js-hez. Alapértelmezett értéke 10000 ms.", 16 | "node.smartStep.description": "Olyan generált kódok automatikus átugrása, amelyeknek nem sikerül visszakövetni az eredeti forrását.", 17 | "node.diagnosticLogging.description": "Ha igaz, az illesztő naplózza a saját diagnosztikai információit a konzolra.", 18 | "node.diagnosticLogging.deprecationMessage": "A 'diagnosticLogging' beállítás elavult. Használja helyette a 'trace' beállítást. ", 19 | "node.verboseDiagnosticLogging.description": "Ha igaz, az illesztő naplóz minden forgalmat a kliens és a cél között (illetve a 'diagnosticLogging' által naplózott információkat is)", 20 | "node.verboseDiagnosticLogging.deprecationMessage": "A 'verboseDiagnosticLogging' beálíltás elavult. Használja helyette a 'trace' beállítást.", 21 | "node.trace.description": "Ha értéke 'true', a hibakereső információkat naplóz egy fájlba. Ha értéke 'verbose', akkor a napló a konzolban is megjelenik.", 22 | "node.sourceMapPathOverrides.description": "Szabályok, amelyek a forráskódtérképekben található forrásfájlokban leírt elérési utak lemezen lévő elérési útra való leképezésére szolgálnak.", 23 | "node.skipFiles.description": "Fájlok és mappanevek tömbje vagy globális minták, amelyek ki vannak hagyva a hibakeresés során.", 24 | "node.restart.description": "Munkafolyamat újraindítása, ha a Node.js futása befejeződött.", 25 | "node.showAsyncStacks.description": "Az aktuális hívási veremhez vezető aszinkron hívások megjelenítése.", 26 | "node.launch.program.description": "A program abszolút elérési útja.", 27 | "node.launch.console.description": "Hol induljon el a hibakeresési célpont: a belső konzolban, a beépített terminálban vagy külső terminálban.", 28 | "node.launch.args.description": "A program számára átadott parancssori argumentumok.", 29 | "node.launch.cwd.description": "A program munkakönyvtárának abszolút elérési útja hibakeresésnél.", 30 | "node.launch.runtimeExecutable.description": "A használt futtatókörnyezet. Vagy egy abszolút elérési út vagy olyan futtatókörnyezet, amely elérhető a PATH-ban. Ha nincs megadva, akkor 'node' van használva.", 31 | "node.launch.runtimeArgs.description": "A futtatókörnyezet számára átadott kiegészítő argumentumok.", 32 | "node.launch.env.description": "A kiegészítő gazdafolyamata számára átadott környezeti változók. A 'null' eltávolítja az adott környezeti változó értékét.", 33 | "node.launch.envFile.description": "A környezetiváltozó-definíciókat tartalmazó fájl abszolút elérési útja.", 34 | "node.launch.outputCapture.description": "Honnan legyenek rögzítve a kimeneti üzenetek: a hibakeresési API-ról vagy stdout/stderr streamekről.", 35 | "node.launch.config.name": "Indítás", 36 | "node.attach.processId.description": "Annak a folyamatnak az azonosítója, amelyhez csatlakozás történik", 37 | "node.attach.localRoot.description": "A helyi forráskönyvtár, ami megfelel a 'remoteRoot'-nak.", 38 | "node.attach.remoteRoot.description": "A távoli kiszolgáló forrásainak gyökérkönyvtára.", 39 | "node.attach.config.name": "Csatlakozás", 40 | "node.processattach.config.name": "Csatlakozás egy folyamathoz", 41 | "toggle.skipping.this.file": "Fájl kihagyásának be- és kikapcsolása", 42 | "extensionHost.label": "VS Code-kiegészítőfejlesztés ", 43 | "extensionHost.launch.runtimeExecutable.description": "A VS Code abszolút elérési útja.", 44 | "extensionHost.launch.stopOnEntry.description": "A kiegészítő gazdafolyamatának automatikus leállítása az indítás után.", 45 | "extensionHost.launch.env.description": "A kiegészítő gazdafolyamata számára átadott környezeti változók.", 46 | "extensionHost.snippet.launch.label": "VS Code-kiegészítőfejlesztés ", 47 | "extensionHost.snippet.launch.description": "VS Code kiegészítő indítása hibakeresési módban", 48 | "extensionHost.launch.config.name": "Kiegészítő indítása" 49 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/ita/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "Non è possibile trovare il runtime '{0}' in PATH. '{0}' è installato?", 8 | "VSND2011": "Non è possibile avviare la destinazione di debug nel terminale ({0}).", 9 | "VSND2017": "Non è possibile avviare la destinazione di debug ({0}).", 10 | "VSND2035": "Non è possibile eseguire il debug dell'estensione ({0}).", 11 | "VSND2028": "Il tipo di console '{0}' è sconosciuto.", 12 | "VSND2002": "Non è possibile avviare il programma '{0}'. Per risolvere il problema, provare a configurare i mapping di origine.", 13 | "VSND2003": "Non è possibile avviare il programma '{0}'. Per risolvere il problema, provare a impostare l'attributo '{1}'.", 14 | "VSND2009": "Non è possibile avviare il programma '{0}' perché non è stata trovata la versione corrispondente di JavaScript.", 15 | "VSND2029": "Non è possibile caricare le variabili di ambiente dal file ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/ita/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Non è possibile trovare l'installazione del sottosistema Windows per Linux.", 8 | "program.path.case.mismatch.warning": "La combinazione di minuscole/maiuscole usata nel percorso del programma è diversa rispetto al file su disco. È possibile che i punti di interruzione non vengano rilevati.", 9 | "node.console.title": "Console di debug di Node", 10 | "attribute.path.not.exist": "L'attributo '{0}' non esiste ('{1}').", 11 | "attribute.path.not.absolute": "L'attributo '{0}' non è assoluto ('{1}'). Per renderlo assoluto, provare ad aggiungere il prefisso '{2}'.", 12 | "VSND2001": "Non è possibile trovare il runtime '{0}' in PATH. Assicurarsi che '{0}' sia installato.", 13 | "more.information": "Altre informazioni", 14 | "origin.from.node": "contenuto di sola lettura di Node.js", 15 | "origin.core.module": "modulo principale di sola lettura" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/ita/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Supporto per il debug Node.js", 8 | "node.label": "Node.js 6.3 o versione successiva tramite Inspector Protocol", 9 | "node.sourceMaps.description": "Usa i mapping di origine JavaScript (se esistenti).", 10 | "outDir.deprecationMessage": "L'attributo 'outDir' è deprecato. Usare 'outFiles'.", 11 | "node.outFiles.description": "Se sono abilitati i mapping di origine, questi criteri GLOB specificano i file JavaScript generati. Se un criterio inizia con `!`, i file sono esclusi. Se non viene specificato, si presuppone che il codice generato si trovi nella stessa directory dell'origine.", 12 | "node.stopOnEntry.description": "Arresta automaticamente il programma dopo l'avvio.", 13 | "node.port.description": "Porta di debug a cui connettersi. Il valore predefinito è 9229.", 14 | "node.address.description": "Indirizzo TCP/IP della porta di debug. Il valore predefinito è 'localhost'.", 15 | "node.timeout.description": "Numero di millisecondi in cui vengono effettuati i tentativi di connessione a Node.js. Il valore predefinito è 10000 ms.", 16 | "node.smartStep.description": "Esegue automaticamente un'istruzione alla volta del codice generato di cui non è possibile eseguire il mapping all'origine iniziale.", 17 | "node.enableSourceMapCaching.description": "Quando i sourcemap vengono scaricati da un URL, li memorizza nella cache su disco.", 18 | "node.diagnosticLogging.description": "Quando è true, l'adattatore registra le informazioni di diagnostica nella console", 19 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging' è deprecato. In alternativa, usare 'trace'.", 20 | "node.verboseDiagnosticLogging.description": "Quando è true, l'adattatore registra tutto il traffico con il client e la destinazione (oltre alle informazioni registrate da 'diagnosticLogging')", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging' è deprecato. In alternativa, usare 'trace'.", 22 | "node.trace.description": "Se è 'true', il debugger registrerà informazioni di analisi in un file. Se è 'verbose', mostrerà anche i log nella console.", 23 | "node.sourceMapPathOverrides.description": "Set di mapping per riscrivere i percorsi dei file di origine dalle posizioni indicate nel sourcemap alle relative posizioni sul disco. Per dettagli, vedere il file README.", 24 | "node.skipFiles.description": "Matrice di nomi di file o di cartelle o criteri GLOB da ignorare durante il debug.", 25 | "node.restart.description": "Riavvia la sessione dopo la chiusura di Node.js.", 26 | "node.showAsyncStacks.description": "Mostra le chiamate asincrone che hanno causato lo stack di chiamate corrente.", 27 | "node.disableOptimisticBPs.description": "Non imposta punti di interruzione in un file finché non viene caricato un sourcemap per tale file.", 28 | "node.launch.program.description": "Percorso assoluto del programma.", 29 | "node.launch.console.description": "Indica dove avviare la destinazione di debug: console interna, terminale integrato o terminale esterno.", 30 | "node.launch.args.description": "Argomenti della riga di comando passati al programma.", 31 | "node.launch.cwd.description": "Percorso assoluto della directory di lavoro del programma di cui eseguire il debug.", 32 | "node.launch.runtimeExecutable.description": "Runtime da usare. Corrisponde a un percorso assoluto o al nome di un runtime disponibile in PATH. Se viene omesso, si presuppone che sia `node`.", 33 | "node.launch.runtimeArgs.description": "Argomenti facoltativi passati all'eseguibile del runtime.", 34 | "node.launch.env.description": "Variabili di ambiente passate al programma. Con il valore `null` la variabile viene rimossa dall'ambiente.", 35 | "node.launch.envFile.description": "Percorso assoluto di un file che contiene le definizioni delle variabili di ambiente.", 36 | "node.launch.outputCapture.description": "Origine da cui acquisire i messaggi di output, ovvero dall'API di debug o dai flussi stdout/stderr.", 37 | "node.launch.config.name": "Avvia", 38 | "node.attach.processId.description": "ID del processo a cui collegarsi.", 39 | "node.attach.localRoot.description": "Radice di origine locale che corrisponde a 'remoteRoot'.", 40 | "node.attach.remoteRoot.description": "Radice di origine dell'host remoto.", 41 | "node.attach.config.name": "Collega", 42 | "node.processattach.config.name": "Connetti a processo", 43 | "toggle.skipping.this.file": "Attiva/disattiva Ignora questo file", 44 | "extensionHost.label": "Sviluppo di estensioni per VS Code", 45 | "extensionHost.launch.runtimeExecutable.description": "Percorso assoluto di VS Code.", 46 | "extensionHost.launch.stopOnEntry.description": "Arresta automaticamente l'host dell'estensione dopo l'avvio.", 47 | "extensionHost.launch.env.description": "Variabili di ambiente passate all'host dell'estensione.", 48 | "extensionHost.snippet.launch.label": "Sviluppo di estensioni per VS Code", 49 | "extensionHost.snippet.launch.description": "Avvia un'estensione VS Code in modalità di debug", 50 | "extensionHost.launch.config.name": "Avvia estensione" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/jpn/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "PATH にランタイム '{0}' が見つかりません。'{0}' はインストールされていますか?", 8 | "VSND2011": "端末 ({0}) でデバッグ ターゲットを起動できません。", 9 | "VSND2017": "デバッグ ターゲット ({0}) を起動できません。", 10 | "VSND2035": "拡張機能 ({0}) をデバッグできません。", 11 | "VSND2028": "コンソールの種類 '{0}' が不明です。", 12 | "VSND2002": "プログラム '{0}' を起動できません。ソース マップを構成することによって解決される可能性があります。", 13 | "VSND2003": "プログラム '{0}' を起動できません。'{1}' 属性を設定することによって解決される可能性があります。", 14 | "VSND2009": "対応する JavaScript が見つからないため、プログラム '{0}' を起動できません。", 15 | "VSND2029": "ファイル ({0}) から環境変数を読み込めません。" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/jpn/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Windows Subsystem for Linux インストールが見つかりません。", 8 | "program.path.case.mismatch.warning": "プログラム パスで使用されている文字と、ディスク上のファイルの文字の間で大文字と小文字が異なっています。ブレークポイントがヒットしない可能性があります。", 9 | "node.console.title": "Node デバッグ コンソール", 10 | "attribute.path.not.exist": "属性 '{0}' がありません ('{1}')。", 11 | "attribute.path.not.absolute": "属性 '{0}' が絶対パスになっていません ('{1}')。'{2}' を接頭辞として追加して絶対パスにすることをご検討ください。", 12 | "VSND2001": "PATH にランタイム '{0}' が見つかりません。'{0}' がインストールされていることをご確認ください。", 13 | "more.information": "詳細情報", 14 | "origin.from.node": "Node.js からの読み取り専用コンテンツ", 15 | "origin.core.module": "読み取り専用のコア モジュール" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/jpn/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Node.js デバッグ サポート", 8 | "node.label": "Node.js v6.3+ (インスペクター プロトコル経由)", 9 | "node.sourceMaps.description": "JavaScript ソース マップを使用します (存在する場合)。", 10 | "outDir.deprecationMessage": "属性 'outDir' は非推奨です。代わりに 'outFiles' をご使用ください。", 11 | "node.outFiles.description": "ソース マップが有効にされている場合、これらの glob パターンは、生成された JavaScript ファイルを指定します。パターンが '!' で始まる場合、ファイルは除外されます。指定されない場合、生成されたコードは、そのソースと同じディレクトリにあるものと見なされます。", 12 | "node.stopOnEntry.description": "起動後、プログラムを自動的に停止します。", 13 | "node.port.description": "アタッチ先のデバッグ ポート。既定値は 9229 です。", 14 | "node.address.description": "デバッグ ポートの TCP/IP アドレス。既定値は 'localhost' です。", 15 | "node.timeout.description": "Node.js への接続を再試行する期間 (ミリ秒単位)。既定値は 10000 ミリ秒です。", 16 | "node.smartStep.description": "元のソースにマップできない生成コードを自動的にステップスルーします。", 17 | "node.enableSourceMapCaching.description": "ソース マップが URL からダウンロードされたら、それをディスクにキャッシュします。", 18 | "node.diagnosticLogging.description": "true の場合、アダプターはその独自の診断をコンソールに記録します", 19 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging' は非推奨です。代わりに 'trace' をご使用ください。", 20 | "node.verboseDiagnosticLogging.description": "true の場合、アダプターはクライアントおよびターゲットとのすべてのトラフィック (および 'diagnosticLogging' によって記録される情報) を記録します", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging' は非推奨です。代わりに 'trace' をご使用ください。", 22 | "node.trace.description": "'true' の場合、デバッガーはトレース情報をファイルに記録します。'verbose' の場合、コンソールでのログの表示も行います。", 23 | "node.sourceMapPathOverrides.description": "ソース ファイルの場所をソース マップに指定されている内容からディスク上の場所へ書き換えるための一連のマッピング。詳しくは Readme をご覧ください。", 24 | "node.skipFiles.description": "デバッグ時にスキップするファイル名またはフォルダー名の配列、または glob パターン。", 25 | "node.restart.description": "Node.js の終了後にセッションを再起動します。", 26 | "node.showAsyncStacks.description": "現在の呼び出し履歴にまで至った非同期呼び出しを表示します。", 27 | "node.disableOptimisticBPs.description": "どのファイルについても、そのファイルのソース マップが読み込まれるまではブレークポイントを設定しないでください。", 28 | "node.launch.program.description": "プログラムへの絶対パス。", 29 | "node.launch.console.description": "デバッグ ターゲットを起動する場所: 内部コンソール、統合ターミナル、外部ターミナル。", 30 | "node.launch.args.description": "プログラムに渡すコマンド ライン引数。", 31 | "node.launch.cwd.description": "デバッグ対象プログラムの作業ディレクトリへの絶対パス。", 32 | "node.launch.runtimeExecutable.description": "使用するランタイム。絶対パスまたは PATH で使用可能なランタイムの名前。省略される場合、'node' が使用されます。", 33 | "node.launch.runtimeArgs.description": "省略可能な引数がランタイム実行可能ファイルに渡されました。", 34 | "node.launch.env.description": "環境変数がプログラムに渡されました。値 'null' を指定すると、変数が環境から削除されます。", 35 | "node.launch.envFile.description": "環境変数定義が含まれているファイルへの絶対パス。", 36 | "node.launch.outputCapture.description": "出力メッセージのキャプチャ元の場所: デバッグ API、または stdout/stderr ストリーム。", 37 | "node.launch.config.name": "起動", 38 | "node.attach.processId.description": "アタッチするプロセスの ID。", 39 | "node.attach.localRoot.description": "'remoteRoot' に対応するローカル ソース ルート。", 40 | "node.attach.remoteRoot.description": "リモート ホストのソース ルート。", 41 | "node.attach.config.name": "アタッチ", 42 | "node.processattach.config.name": "プロセスにアタッチ", 43 | "toggle.skipping.this.file": "このファイルのスキップを切り替え", 44 | "extensionHost.label": "VS Code 拡張機能の開発", 45 | "extensionHost.launch.runtimeExecutable.description": "VS Code への絶対パス。", 46 | "extensionHost.launch.stopOnEntry.description": "起動後に拡張機能ホストを自動的に停止します。", 47 | "extensionHost.launch.env.description": "拡張機能ホストに渡される環境変数。", 48 | "extensionHost.snippet.launch.label": "VS Code 拡張機能の開発", 49 | "extensionHost.snippet.launch.description": "デバッグ モードで VS Code 拡張機能を起動します", 50 | "extensionHost.launch.config.name": "拡張機能の起動" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/kor/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "PATH에서 '{0}' 런타임을 찾을 수 없습니다. '{0}'이(가) 설치되어 있나요?", 8 | "VSND2011": "터미널({0})에서 디버그 대상을 시작할 수 없습니다.", 9 | "VSND2017": "디버그 대상({0})을 시작할 수 없습니다.", 10 | "VSND2035": "확장({0})을 디버그할 수 없습니다.", 11 | "VSND2028": "알 수 없는 콘솔 유형 '{0}'입니다.", 12 | "VSND2002": "'{0}' 프로그램을 시작할 수 없습니다. 소스 맵을 구성하면 도움이 될 수 있습니다.", 13 | "VSND2003": "'{0}' 프로그램을 시작할 수 없습니다. '{1}' 특성을 설정하면 도움이 될 수 있습니다.", 14 | "VSND2009": "해당 JavaScript를 찾을 수 없으므로 '{0}' 프로그램을 시작할 수 없습니다.", 15 | "VSND2029": "파일({0})에서 환경 변수를 로드할 수 없습니다." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/kor/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Linux 설치에 대한 Windows 하위 시스템을 찾을 수 없습니다.", 8 | "program.path.case.mismatch.warning": "프로그램 경로에 디스크의 파일과 다른 대/소문자가 사용됩니다. 이로 인해 중단점이 적중되지 않을 수 있습니다.", 9 | "node.console.title": "노드 디버그 콘솔", 10 | "attribute.path.not.exist": "'{0}' 특성이 없습니다('{1}').", 11 | "attribute.path.not.absolute": "'{0}' 특성이 절대('{1}')가 아닙니다. 절대로 설정하려면 접두사로 '{2}'을(를) 추가하는 것이 좋습니다.", 12 | "VSND2001": "PATH에서 '{0}' 런타임을 찾을 수 없습니다. '{0}'이(가) 설치되어 있는지 확인하세요.", 13 | "more.information": "추가 정보", 14 | "origin.from.node": "Node.js의 읽기 전용 콘텐츠", 15 | "origin.core.module": "읽기 전용 핵심 모듈" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/kor/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Node.js 디버깅 지원", 8 | "node.label": "검사 프로토콜을 통한 Node.js v6.3 이상", 9 | "node.sourceMaps.description": "JavaScript 소스 맵을 사용합니다(있는 경우).", 10 | "outDir.deprecationMessage": "'outDir' 특성은 사용되지 않습니다. 'outFiles'를 대신 사용하세요.", 11 | "node.outFiles.description": "소스 맵이 사용하도록 설정되면 이 전역 패턴은 생성된 JavaScript 파일을 지정합니다. 패턴이 '!'로 시작하면 파일이 제외됩니다. 지정하지 않을 경우 생성된 코드는 소스와 동일한 디렉터리에 있어야 합니다.", 12 | "node.stopOnEntry.description": "시작된 후 프로그램을 자동으로 중지합니다.", 13 | "node.port.description": "연결할 디버그 포트입니다. 기본값은 9229입니다.", 14 | "node.address.description": "디버그 포트의 TCP/IP 주소입니다. 기본값은 'localhost'입니다.", 15 | "node.timeout.description": "Node.js 연결을 다시 시도하는 시간(밀리초)입니다. 기본값은 10,000ms입니다.", 16 | "node.smartStep.description": "다시 원래 소스에 매핑할 수 없는 생성된 코드를 자동으로 단계별로 실행합니다.", 17 | "node.enableSourceMapCaching.description": "sourcemap이 URL에서 다운로드되면 이를 디스크에 캐시합니다.", 18 | "node.diagnosticLogging.description": "true인 경우 어댑터가 자체 진단 정보를 콘솔에 로그합니다.", 19 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging'은 사용되지 않습니다. 'trace'를 대신 사용하세요.", 20 | "node.verboseDiagnosticLogging.description": "true인 경우 어댑터가 'diagnosticLogging'에 의해 로그된 정보뿐만 아니라 클라이언트와 대상이 있는 모든 트래픽을 로그합니다.", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging'은 사용되지 않습니다. 'trace'를 대신 사용하세요.", 22 | "node.trace.description": "'true'인 경우 디버거가 추적 정보를 파일에 로그합니다. 'verbose'인 경우 로그를 콘솔에도 표시합니다.", 23 | "node.sourceMapPathOverrides.description": "sourcemap의 위치에서 디스크의 해당 위치로 소스 파일의 위치를 다시 작성하기 위한 매핑 세트입니다. 자세한 내용은 추가 정보를 참조하세요.", 24 | "node.skipFiles.description": "디버그할 때 건너뛸 파일 또는 폴더 이름이나 전역 패턴의 배열입니다.", 25 | "node.restart.description": "Node.js가 종료된 후 세션을 다시 시작합니다.", 26 | "node.showAsyncStacks.description": "현재 호출 스택을 생성하는 비동기 호출을 표시합니다.", 27 | "node.disableOptimisticBPs.description": "해당 파일에 대한 sourcemap이 로드될 때까지 파일에서 중단점을 설정하지 마세요.", 28 | "node.launch.program.description": "프로그램의 절대 경로입니다.", 29 | "node.launch.console.description": "디버그 대상을 시작할 위치: 내부 콘솔, 통합 터미널 또는 외부 터미널.", 30 | "node.launch.args.description": "프로그램에 전달된 명령줄 인수입니다.", 31 | "node.launch.cwd.description": "디버그 중인 프로그램 작업 디렉터리의 절대 경로입니다.", 32 | "node.launch.runtimeExecutable.description": "사용할 런타임입니다. PATH에서 사용 가능한 런타임의 절대 경로 또는 이름입니다. 생략하면 'node'가 사용됩니다.", 33 | "node.launch.runtimeArgs.description": "런타임 실행 파일에 전달되는 선택적 인수입니다.", 34 | "node.launch.env.description": "프로그램에 전달된 환경 변수입니다. 'null' 값은 환경에서 변수를 제거합니다.", 35 | "node.launch.envFile.description": "환경 변수 정의를 포함하는 파일의 절대 경로입니다.", 36 | "node.launch.outputCapture.description": "출력 메시지를 캡처할 위치에서: 디버그 API 또는 stdout/stderr이 스트림됩니다.", 37 | "node.launch.config.name": "실행", 38 | "node.attach.processId.description": "연결할 프로세스의 ID입니다.", 39 | "node.attach.localRoot.description": "'remoteRoot'에 해당하는 로컬 소스 루트입니다.", 40 | "node.attach.remoteRoot.description": "원격 호스트의 소스 루트입니다.", 41 | "node.attach.config.name": "연결", 42 | "node.processattach.config.name": "프로세스에 연결", 43 | "toggle.skipping.this.file": "이 파일 건너뛰기 토글", 44 | "extensionHost.label": "VS Code 확장 개발", 45 | "extensionHost.launch.runtimeExecutable.description": "VS Code의 절대 경로입니다.", 46 | "extensionHost.launch.stopOnEntry.description": "시작된 후 확장 호스트를 자동으로 중지합니다.", 47 | "extensionHost.launch.env.description": "확장 호스트에 전달된 환경 변수입니다.", 48 | "extensionHost.snippet.launch.label": "VS Code 확장 개발", 49 | "extensionHost.snippet.launch.description": "디버그 모드에서 VS Code 확장 시작", 50 | "extensionHost.launch.config.name": "확장 시작" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Yeni, Denetçi Protokolü'nü kullanan; Node.js v6.3+ için Visual Studio Code hata ayıklama eklentisi", 8 | "node.label": "Denetçi Protokolü ile Node.js v6.3+", 9 | "node.sourceMaps.description": "JavaScript kaynak haritaları kullanın (varsa).", 10 | "outDir.deprecationMessage": "'outDir' özniteliği kullanım dışıdır, bunun yerine 'outFiles' özniteliğini kullanın.", 11 | "node.outFiles.description": "Kaynak haritaları etkinleştirilmiş ise, bu glob desenleri oluşturulan JavaScript dosyalarını belirtir. '!' ile başlayan kalıpta dosyalar hariç tutulur. Eğer belirtilmemişse, oluşturulan kodun kaynağıyla aynı dizinde olması beklenir.", 12 | "node.stopOnEntry.description": "Başlatıldıktan sonra programı otomatik olarak durdur.", 13 | "node.port.description": "Bağlanacak hata ayıklama portu. Varsayılan 9229'dur.", 14 | "node.address.description": "Hata ayıklama portunun TCP/IP adresi. Varsayılan 'localhost'tur.", 15 | "node.timeout.description": "Node.js'ye yeniden bağlanmak için bu sayıda milisaniye kadar tekrar deneyin. Varsayılan 10000 ms'dir.", 16 | "node.smartStep.description": "Orijinal kaynağa geri eşlenemeyen oluşturulmuş kodlar üzerinde otomatik olarak adım adım ilerleyin.", 17 | "node.diagnosticLogging.description": "Doğru olduğunda, bağdaştırıcı kendi tanılama bilgilerini konsola yazdırır", 18 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging' kullanım dışıdır. Bunun yerine 'trace' özniteliğini kullanın.", 19 | "node.verboseDiagnosticLogging.description": "Doğru olduğunda, bağdaştırıcı istemci ve hedef ('diagnosticLogging' tarafından kaydedilen bilgileri de) ile tüm trafiğini günlüğe kaydeder", 20 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging' kullanım dışıdır. Bunun yerine 'trace' özniteliğini kullanın.", 21 | "node.trace.description": "'true' olduğunda; hata ayıklayıcı, izleme bilgisini bir dosyaya günlük şeklinde kaydeder. 'verbose' olduğunda, günlükleri ayrıca konsolda gösterir.", 22 | "node.sourceMapPathOverrides.description": "Kaynak dosyalarının konumlarını, kaynak haritanın belirttiği yerden disk üzerindeki konumlarına yeniden yazmak için bir eşlemeler dizisi. Ayrıntılar için README dosyasına bakın.", 23 | "node.skipFiles.description": "Hata ayıklama yapılırken atlanacak dosya veya klasör adları, veya glob desenleri dizisi.", 24 | "node.restart.description": "Node.js sonlandırıldıktan sonra oturumu yeniden başlatın.", 25 | "node.showAsyncStacks.description": "Geçerli çağrı yığınına giden asenkron çağrıları gösterin.", 26 | "node.launch.program.description": "Programın mutlak yolu.", 27 | "node.launch.console.description": "Hata ayıklama hedefinin nerede başlatılacağı: dahili konsol, entegre terminal, veya harici terminal.", 28 | "node.launch.args.description": "Programa iletilecek komut satırı argümanları.", 29 | "node.launch.cwd.description": "Hata ayıklama yapılan programın çalışma klasörünün mutlak yolu.", 30 | "node.launch.runtimeExecutable.description": "Kullanılacak çalışma zamanı. Mutlak bir yol veya PATH'da mevcut bir çalışma zamanı adı kullanılabilir. Eğer atlanırsa 'node' varsayılır.", 31 | "node.launch.runtimeArgs.description": "Çalışma zamanı yürütülebilir dosyasına iletilecek isteğe bağlı argümanlar.", 32 | "node.launch.env.description": "Programa iletilecek ortam değişkenleri. 'null' değeri, değişkeni ortamdan kaldırır.", 33 | "node.launch.envFile.description": "Ortam değişkenleri tanımlamalarını içeren bir dosyanın mutlak yolu.", 34 | "node.launch.outputCapture.description": "Çıktı mesajları nereden yakalanacak: Hata ayıklama API'si veya stdout/stderr akışları.", 35 | "node.launch.config.name": "Başlat", 36 | "node.attach.processId.description": "Bağlanacak işlem Id'si.", 37 | "node.attach.localRoot.description": "'remoteRoot' ögesine karşılık gelen yerel kaynak kökü.", 38 | "node.attach.remoteRoot.description": "Uzak sunucunun kaynak kökü.", 39 | "node.attach.config.name": "Bağla", 40 | "node.processattach.config.name": "İşleme Bağla", 41 | "toggle.skipping.this.file": "Bu Dosyayı Atlamayı Aç/Kapa", 42 | "extensionHost.label": "VS Code Eklentisi Geliştirme", 43 | "extensionHost.launch.runtimeExecutable.description": "VS Code'un mutlak yolu", 44 | "extensionHost.launch.stopOnEntry.description": "Başlatıldıktan sonra eklenti sunucusunu otomatik olarak durdur.", 45 | "extensionHost.launch.env.description": "Eklenti sunucusuna iletilecek ortam değişkenleri.", 46 | "extensionHost.snippet.launch.label": "VS Code Eklentisi Geliştirme", 47 | "extensionHost.snippet.launch.description": "Bir VS Code eklentisini hata ayıklama modunda çalıştır", 48 | "extensionHost.launch.config.name": "Eklentiyi Başlat" 49 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/plk/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "Nie można znaleźć środowiska uruchomieniowego „{0}” w ścieżce. Czy środowisko „{0}” jest zainstalowane?", 8 | "VSND2011": "Nie można uruchomić elementu docelowego debugowania w terminalu ({0}).", 9 | "VSND2017": "Nie można uruchomić elementu docelowego debugowania ({0}).", 10 | "VSND2035": "Nie można debugować rozszerzenia ({0}).", 11 | "VSND2028": "Nieznany typ konsoli: „{0}”.", 12 | "VSND2002": "Nie można uruchomić programu „{0}”; skonfigurowanie map źródła może pomóc.", 13 | "VSND2003": "Nie można uruchomić programu „{0}”; ustawienie atrybutu „{1}” może pomóc.", 14 | "VSND2009": "Nie można uruchomić programu „{0}”, ponieważ nie można odnaleźć odpowiedniego kodu JavaScript.", 15 | "VSND2029": "Nie można załadować zmiennych środowiskowych z pliku ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/plk/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Nie można odnaleźć instalacji podsystemu Windows dla systemu Linux.", 8 | "program.path.case.mismatch.warning": "Ścieżka programu używa innej wielkości liter niż plik na dysku. Może to skutkować nietrafieniem punktów przerwania.", 9 | "node.console.title": "Konsola debugowania węzła", 10 | "attribute.path.not.exist": "Atrybut „{0}” nie istnieje („{1}”).", 11 | "attribute.path.not.absolute": "Atrybut „{0}” nie jest bezwzględny („{1}”). Rozważ dodanie „{2}” jako prefiksu, aby stał się bezwzględny.", 12 | "VSND2001": "Nie można znaleźć środowiska uruchomieniowego „{0}” w ścieżce. Upewnij się, że środowisko „{0}” zostało zainstalowane.", 13 | "more.information": "Więcej informacji", 14 | "origin.from.node": "zawartość tylko do odczytu z Node.js", 15 | "origin.core.module": "moduł podstawowy tylko do odczytu" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/plk/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Obsługa debugowania Node.js", 8 | "node.label": "Node.js 6.3 + za pomocą protokołu programu Inspector", 9 | "node.sourceMaps.description": "Użyj mapy źródła JavaScript (jeśli istnieją).", 10 | "outDir.deprecationMessage": "Atrybut „outDir” jest przestarzały, użyj zamiast tego atrybutu „outFiles”.", 11 | "node.outFiles.description": "Jeśli mapy źródła są włączone, te wzorce globalne określają wygenerowane pliki języka JavaScript. Jeśli wzorzec rozpoczyna się od „!”, pliki są wyłączone. Jeśli nie określono, wygenerowany kod jest oczekiwany w tym samym katalogu, co jego źródło.", 12 | "node.stopOnEntry.description": "Automatyczne zatrzymywanie programu po uruchomieniu.", 13 | "node.port.description": "Port debugowania do dołączenia. Wartość domyślna to 9229.", 14 | "node.address.description": "Adres TCP/IP portu debugowania. Wartość domyślna to „localhost”.", 15 | "node.timeout.description": "Ponawiaj przez tę liczbę milisekund próbę połączenia się ze środowiskiem Node.js. Wartość domyślna to 10000 ms.", 16 | "node.smartStep.description": "Automatycznie przejdź krokowo przez wygenerowany kod, którego nie można zamapować z powrotem na oryginalne źródło.", 17 | "node.enableSourceMapCaching.description": "Po pobraniu map źródła z adresu URL przechowuj je w pamięci podręcznej na dysku.", 18 | "node.diagnosticLogging.description": "Gdy ma wartość true, karta rejestruje swoje własne informacje diagnostyczne w konsoli", 19 | "node.diagnosticLogging.deprecationMessage": "Element „diagnosticLogging” jest przestarzały. Zamiast tego użyj elementu „trace”.", 20 | "node.verboseDiagnosticLogging.description": "Gdy ma wartość true, adapter rejestruje cały ruch z klientem i elementem docelowym (jak również informacje rejestrowane przez funkcję „diagnosticLogging”)", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "Element „verboseDiagnosticLogging” jest przestarzały. Zamiast tego użyj elementu „trace”.", 22 | "node.trace.description": "W przypadku ustawienia „true” debuger będzie rejestrował informacje o śledzeniu w pliku. W przypadku ustawienia „verbose” wyświetli również dzienniki w konsoli.", 23 | "node.sourceMapPathOverrides.description": "Zestaw mapowań na potrzeby przepisania lokalizacji plików źródłowych z lokalizacji określonych przez mapę źródła do ich lokalizacji na dysku. Aby uzyskać szczegółowe informacje, zobacz plik README.", 24 | "node.skipFiles.description": "Tablica nazw plików lub folderów, albo wzorce globalne, do pomijania podczas debugowania.", 25 | "node.restart.description": "Ponowne uruchomienie sesji po zakończeniu Node.js.", 26 | "node.showAsyncStacks.description": "Pokaż wywołania asynchroniczne, które doprowadziły do bieżącego stosu wywołań.", 27 | "node.disableOptimisticBPs.description": "Nie ustawiaj punktów przerwania w żadnym pliku, dopóki nie zostanie załadowana mapa źródła dla danego pliku.", 28 | "node.launch.program.description": "Ścieżka bezwzględna do programu.", 29 | "node.launch.console.description": "Miejsce, w którym chcesz uruchomić element docelowy debugowania: wewnętrzna konsola, zintegrowany terminal lub zewnętrzny terminal.", 30 | "node.launch.args.description": "Argumenty wiersza polecenia przekazywane do programu.", 31 | "node.launch.cwd.description": "Ścieżka bezwzględna do katalogu roboczego debugowanego programu.", 32 | "node.launch.runtimeExecutable.description": "Środowisko uruchomieniowe do użycia. Ścieżka bezwzględna lub nazwa środowiska uruchomieniowego dostępnego w ścieżce. W przypadku pominięcia zostanie użyty element „node” (węzeł).", 33 | "node.launch.runtimeArgs.description": "Argumenty opcjonalne przekazywane do pliku wykonywalnego środowiska uruchomieniowego.", 34 | "node.launch.env.description": "Zmienne środowiskowe przekazywane do programu. Wartość „null” powoduje usunięcie zmiennej ze środowiska.", 35 | "node.launch.envFile.description": "Ścieżka bezwzględna do pliku zawierającego definicje zmiennych środowiskowych.", 36 | "node.launch.outputCapture.description": "Skąd przechwytywać komunikaty wyjściowe: interfejs API debugowania lub strumienie stdout/stderr.", 37 | "node.launch.config.name": "Uruchom", 38 | "node.attach.processId.description": "Identyfikator procesu, do którego należy dołączyć.", 39 | "node.attach.localRoot.description": "Lokalny katalog główny źródła, który odpowiada elementowi „remoteRoot”.", 40 | "node.attach.remoteRoot.description": "Katalog główny źródła zdalnego hosta.", 41 | "node.attach.config.name": "Dołącz", 42 | "node.processattach.config.name": "Dołączanie do procesu", 43 | "toggle.skipping.this.file": "Przełącz pomijanie tego pliku", 44 | "extensionHost.label": "Opracowywanie rozszerzenia programu VS Code", 45 | "extensionHost.launch.runtimeExecutable.description": "Ścieżka bezwzględna do programu VS Code.", 46 | "extensionHost.launch.stopOnEntry.description": "Automatyczne zatrzymywanie hosta rozszerzenia po uruchomieniu.", 47 | "extensionHost.launch.env.description": "Zmienne środowiskowe przekazane do hosta rozszerzenia.", 48 | "extensionHost.snippet.launch.label": "Opracowywanie rozszerzenia programu VS Code", 49 | "extensionHost.snippet.launch.description": "Uruchom rozszerzenie programu VS Code w trybie debugowania", 50 | "extensionHost.launch.config.name": "Uruchamianie rozszerzenia" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/ptb/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "Não é possível encontrar o tempo de execução '{0}' no CAMINHO. '{0}' está instalado?", 8 | "VSND2011": "Não é possível iniciar o destino de depuração no terminal ({0}).", 9 | "VSND2017": "Não é possível iniciar o destino de depuração ({0}).", 10 | "VSND2035": "Não é possível depurar a extensão ({0}).", 11 | "VSND2028": "Tipo de console desconhecido '{0}'.", 12 | "VSND2002": "Não é possível iniciar o programa '{0}'. A configuração de mapas de origem pode ajudar.", 13 | "VSND2003": "Não é possível iniciar o programa '{0}'. A configuração do atributo '{1}' pode ajudar.", 14 | "VSND2009": "Não é possível iniciar o programa '{0}' porque o JavaScript correspondente não pode ser encontrado.", 15 | "VSND2029": "Não é possível carregar as variáveis de ambiente do arquivo ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/ptb/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Não é possível encontrar o Subsistema Windows para a instalação do Linux.", 8 | "program.path.case.mismatch.warning": "O caminho do programa usa um caractere com uma diferença entre maiúsculas e minúsculas como arquivo no disco. Isso pode fazer com que os pontos de interrupção não sejam atingidos.", 9 | "node.console.title": "Console de Depuração do Node", 10 | "attribute.path.not.exist": "O atributo '{0}' não existe ('{1}').", 11 | "attribute.path.not.absolute": "O atributo '{0}' não é absoluto ('{1}'). Considere a adição de '{2}' como um prefixo para torná-lo absoluto.", 12 | "VSND2001": "Não é possível encontrar o tempo de execução '{0}' no CAMINHO. Verifique se '{0}' está instalado.", 13 | "more.information": "Mais Informações", 14 | "origin.from.node": "conteúdo somente leitura do Node.js", 15 | "origin.core.module": "módulo principal somente leitura" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/ptb/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Suporte à depuração no Node.js", 8 | "node.label": "Node.js v6.3 ou superior por meio do Inspector Protocol", 9 | "node.sourceMaps.description": "Usar os mapas de origem JavaScript (caso haja algum).", 10 | "outDir.deprecationMessage": "O atributo 'outDir' foi preterido, use 'outFiles' em seu lugar.", 11 | "node.outFiles.description": "Quando os mapas de origem estão habilitados, esses padrões glob especificam os arquivos JavaScript gerados. Quando um padrão começa com '!', os arquivos são excluídos. Quando não especificado, o código gerado é esperado no mesmo diretório que sua origem.", 12 | "node.stopOnEntry.description": "Parar o programa automaticamente após a inicialização.", 13 | "node.port.description": "A porta de depuração usada para anexar. O padrão é 9229.", 14 | "node.address.description": "O endereço TCP/IP da porta de depuração. O padrão é 'localhost'.", 15 | "node.timeout.description": "Repetir a conexão com o Node.js após esse número de milissegundos. O padrão é 10000 ms.", 16 | "node.smartStep.description": "Percorrer automaticamente o código gerado que não pode ser mapeado novamente para a origem original.", 17 | "node.enableSourceMapCaching.description": "Quando os sourcemaps forem baixados de uma URL, armazene-os em cache no disco.", 18 | "node.diagnosticLogging.description": "Quando for true, o adaptador registrará suas próprias informações de diagnóstico no console", 19 | "node.diagnosticLogging.deprecationMessage": "O 'diagnosticLogging' foi preterido. Use o 'trace' em seu lugar.", 20 | "node.verboseDiagnosticLogging.description": "Quando for true, o adaptador registrará todo o tráfego no cliente e no destino (assim como as informações registradas pelo 'diagnosticLogging')", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "O 'verboseDiagnosticLogging' foi preterido. Use o 'trace' em seu lugar.", 22 | "node.trace.description": "Quando for 'true', o depurador registrará as informações de acompanhamento em um arquivo. Quando for 'verbose', ele também mostrará os logs no console.", 23 | "node.sourceMapPathOverrides.description": "Um conjunto de mapeamentos para regravar os locais dos arquivos de origem indicados pelo sourcemap, para seus respectivos locais no disco. Confira o LEIAME para obter detalhes.", 24 | "node.skipFiles.description": "Uma matriz de nomes de arquivos ou de pastas ou padrões glob a serem ignorados durante a depuração.", 25 | "node.restart.description": "Reinicie a sessão depois que o Node.js foi encerrado.", 26 | "node.showAsyncStacks.description": "Mostrar as chamadas assíncronas que levaram à pilha de chamadas atual.", 27 | "node.disableOptimisticBPs.description": "Não defina pontos de interrupção em nenhum arquivo até que um sourcemap seja carregado nesse arquivo.", 28 | "node.launch.program.description": "Caminho absoluto para o programa.", 29 | "node.launch.console.description": "O local onde o destino de depuração será iniciado: console interno, terminal integrado ou terminal externo.", 30 | "node.launch.args.description": "Argumentos de linha de comando passados para o programa.", 31 | "node.launch.cwd.description": "Caminho absoluto para o diretório de trabalho do programa que está sendo depurado.", 32 | "node.launch.runtimeExecutable.description": "O tempo de execução a ser usado. Um caminho absoluto ou o nome de um tempo de execução disponível no CAMINHO. Se omitido, `node` será assumido.", 33 | "node.launch.runtimeArgs.description": "Argumentos opcionais passados para o executável de tempo de execução.", 34 | "node.launch.env.description": "Variáveis de ambiente passadas para o programa. O valor `null` remove a variável do ambiente.", 35 | "node.launch.envFile.description": "Caminho absoluto para um arquivo que contém as definições de variável de ambiente.", 36 | "node.launch.outputCapture.description": "Local de onde as mensagens de saída devem ser capturadas: a API de depuração ou os fluxos stdout/stderr.", 37 | "node.launch.config.name": "Inicializar", 38 | "node.attach.processId.description": "ID do processo usada para anexar.", 39 | "node.attach.localRoot.description": "A raiz de origem local que corresponde a 'remoteRoot'.", 40 | "node.attach.remoteRoot.description": "A raiz de origem do host remoto.", 41 | "node.attach.config.name": "Anexar", 42 | "node.processattach.config.name": "Anexar ao Processo", 43 | "toggle.skipping.this.file": "Ativar/desativar a opção de Ignorar este Arquivo", 44 | "extensionHost.label": "Desenvolvimento de Extensão do VS Code", 45 | "extensionHost.launch.runtimeExecutable.description": "Caminho absoluto para o VS Code.", 46 | "extensionHost.launch.stopOnEntry.description": "Parar o host de extensão automaticamente após a inicialização.", 47 | "extensionHost.launch.env.description": "Variáveis de ambiente passadas para o host de extensão.", 48 | "extensionHost.snippet.launch.label": "Desenvolvimento de Extensão do VS Code", 49 | "extensionHost.snippet.launch.description": "Iniciar uma extensão do VS Code no modo de depuração", 50 | "extensionHost.launch.config.name": "Iniciar a Extensão" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/rus/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "Не удается найти \"{0}\" среды выполнения по пути в переменной PATH. \"{0}\" установлен?", 8 | "VSND2011": "Не удается запустить целевой объект отладки в терминале ({0}).", 9 | "VSND2017": "Не удается запустить целевой объект отладки ({0}).", 10 | "VSND2035": "Не удается выполнить отладку расширения ({0}).", 11 | "VSND2028": "Неизвестный тип консоли \"{0}\".", 12 | "VSND2002": "Не удается запустить программу \"{0}\"; возможно, поможет настройка карт исходного кода.", 13 | "VSND2003": "Не удается запустить программу \"{0}\"; возможно, поможет настройка атрибута \"{1}\".", 14 | "VSND2009": "Не удается запустить программу \"{0}\", так как не найден соответствующий JavaScript.", 15 | "VSND2029": "Не удается загрузить переменные среды из файла ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/rus/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Не удается найти установку подсистемы Windows для Linux.", 8 | "program.path.case.mismatch.warning": "В пути к программе используются символы с разным регистром, как для файла на диске. Это может привести к тому, что точки останова не сработают.", 9 | "node.console.title": "Консоль отладки узла", 10 | "attribute.path.not.exist": "Атрибут \"{0}\" не существует (\"{1}\").", 11 | "attribute.path.not.absolute": "Атрибут \"{0}\" не является абсолютным (\"{1}\"); рекомендуется добавить \"{2}\" в качестве префикса, чтобы сделать его абсолютным.", 12 | "VSND2001": "Не удается найти \"{0}\" среды выполнения по пути в переменной PATH. Убедитесь, что \"{0}\" установлен.", 13 | "more.information": "Дополнительные сведения", 14 | "origin.from.node": "содержимое только для чтения из Node.js", 15 | "origin.core.module": "основной модуль только для чтения" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/rus/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Поддержка отладки Node.js", 8 | "node.label": "Node.js v6.3+ по протоколу Inspector", 9 | "node.sourceMaps.description": "Использовать карты исходного кода JavaScript (если они существуют).", 10 | "outDir.deprecationMessage": "Атрибут \"outDir\" является нерекомендуемым, используйте вместо него \"outFiles\".", 11 | "node.outFiles.description": "Если включены карты исходного кода, эти стандартные маски указывают созданные файлы JavaScript. Если маска начинается с \"!\", файлы исключаются. Если значение не указано, предполагается, что созданный код находится в том же каталоге, что и исходный.", 12 | "node.stopOnEntry.description": "Автоматически остановить программу после запуска.", 13 | "node.port.description": "Порт отладки для подключения. Значение по умолчанию — 9229.", 14 | "node.address.description": "TCP/IP-адрес порта отладки. По умолчанию — \"localhost\".", 15 | "node.timeout.description": "Повторять в течение этого количества миллисекунд для подключения к Node.js. Значение по умолчанию — 10 000 мс.", 16 | "node.smartStep.description": "Автоматическая пошаговая обработка сформированного кода, который невозможно сопоставить обратно с исходным источником.", 17 | "node.enableSourceMapCaching.description": "Кэшировать карты исходного кода на диск при скачивании их с URL-адреса.", 18 | "node.diagnosticLogging.description": "Если задано значение \"true\", адаптер выводит свои диагностические сведения в консоль", 19 | "node.diagnosticLogging.deprecationMessage": "\"diagnosticLogging\" является нерекомендуемым. Используйте вместо него \"trace\".", 20 | "node.verboseDiagnosticLogging.description": "Если указано значение true, адаптер регистрирует весь трафик с клиентом и целевым объектом (а также сведения, регистрируемые \"diagnosticLogging\")", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "\"verboseDiagnosticLogging\" является нерекомендуемым. Используйте вместо него \"trace\".", 22 | "node.trace.description": "Если задано значение \"true\", отладчик заносит сведения трассировки в файл. Если задано значение \"verbose\", он также отображает журналы в консоли.", 23 | "node.sourceMapPathOverrides.description": "Набор сопоставлений для переопределения расположений исходных файлов с указанных в sourcemap на реальные расположения на диске. Дополнительные сведения см. в файле сведений.", 24 | "node.skipFiles.description": "Массив имен файлов или папок либо стандартных масок для пропуска при отладке.", 25 | "node.restart.description": "Перезапуск сеанса после завершения Node.js.", 26 | "node.showAsyncStacks.description": "Отображение асинхронных вызовов, которые привели к текущему стеку вызовов.", 27 | "node.disableOptimisticBPs.description": "Не устанавливайте точки останова в любом файле, пока для него не будет загружена карта исходного кода.", 28 | "node.launch.program.description": "Абсолютный путь к программе.", 29 | "node.launch.console.description": "Где следует запускать целевой объект отладки: внутренняя консоль, встроенный терминал или внешний терминал.", 30 | "node.launch.args.description": "Аргументы командной строки, переданные в программу.", 31 | "node.launch.cwd.description": "Абсолютный путь к рабочему каталогу отлаживаемой программы.", 32 | "node.launch.runtimeExecutable.description": "Используемая среда выполнения. Абсолютный путь или имя среды выполнения, доступные в переменной PATH. Если не указано, предполагается \"node\".", 33 | "node.launch.runtimeArgs.description": "Необязательные аргументы, исполняемому файлу среды выполнения.", 34 | "node.launch.env.description": "Переменные среды, переданные в программу. Значение \"null\" удаляет переменную из среды.", 35 | "node.launch.envFile.description": "Абсолютный путь к файлу, содержащему определения переменных среды.", 36 | "node.launch.outputCapture.description": "Источник для захвата выходных сообщений: API отладки или потоки stdout/stderr.", 37 | "node.launch.config.name": "Запуск", 38 | "node.attach.processId.description": "Идентификатор процесса, к которому требуется подключиться.", 39 | "node.attach.localRoot.description": "Корень локального источника, соответствующий \"remoteRoot\".", 40 | "node.attach.remoteRoot.description": "Корень источника удаленного узла.", 41 | "node.attach.config.name": "Подключить", 42 | "node.processattach.config.name": "Присоединение к процессу", 43 | "toggle.skipping.this.file": "Переключить пропуск этого файла", 44 | "extensionHost.label": "Разработка расширения VS Code", 45 | "extensionHost.launch.runtimeExecutable.description": "Абсолютный путь к VS Code.", 46 | "extensionHost.launch.stopOnEntry.description": "Автоматическая остановка хост-процесса для расширений после запуска.", 47 | "extensionHost.launch.env.description": "Переменные среды, переданные в хост-процесс для расширений.", 48 | "extensionHost.snippet.launch.label": "Разработка расширения VS Code", 49 | "extensionHost.snippet.launch.description": "Запустить расширение VS Code в режиме отладки", 50 | "extensionHost.launch.config.name": "Запустить расширение" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/trk/out/src/errors.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "VSND2001": "PATH üzerinde '{0}' çalışma zamanı bulunamıyor. '{0}' yüklü mü?", 8 | "VSND2011": "Terminalde hata ayıklama hedefi başlatılamıyor ({0}).", 9 | "VSND2017": "Hata ayıklama hedefi başlatılamıyor ({0}).", 10 | "VSND2035": "Uzantıda hata ayıklama yapılamıyor ({0}).", 11 | "VSND2028": "Bilinmeyen konsol türü '{0}'.", 12 | "VSND2002": "'{0}' programı başlatılamıyor. Kaynak eşlemelerini yapılandırmak yardımcı olabilir.", 13 | "VSND2003": "'{0}' programı başlatılamıyor. '{1}' özniteliğini ayarlamak yardımcı olabilir.", 14 | "VSND2009": "İlgili JavaScript bulunamadığından '{0}' programı başlatılamıyor.", 15 | "VSND2029": "Dosyadaki ortam değişkenleri yüklenemiyor ({0})." 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/trk/out/src/nodeDebugAdapter.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "attribute.wsl.not.exist": "Linux için Windows Alt Sistemi yüklemesi bulunamıyor.", 8 | "program.path.case.mismatch.warning": "Program yolu, diskte dosya olarak büyük/küçük harf durumu farklı olan karakter kullanıyor. Bu durum kesme noktalarına isabet edilmemesine neden olabilir.", 9 | "node.console.title": "Node Hata Ayıklama Konsolu", 10 | "attribute.path.not.exist": "'{0}' özniteliği yok ('{1}').", 11 | "attribute.path.not.absolute": "'{0}' özniteliği mutlak değil ('{1}'); mutlak hale getirmek için ön ek olarak '{2}' eklemeyi deneyin.", 12 | "VSND2001": "PATH üzerinde '{0}' çalışma zamanı bulunamıyor. '{0}' çalışma zamanının yüklü olduğundan emin olun.", 13 | "more.information": "Daha Fazla Bilgi", 14 | "origin.from.node": "Node.js'deki salt okunur içerik", 15 | "origin.core.module": "salt okunur çekirdek modülü" 16 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/i18n/trk/package.i18n.json: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | // Do not edit this file. It is machine generated. 6 | { 7 | "extension.description": "Node.js hata ayıklama desteği", 8 | "node.label": "Inspector Protocol aracılığıyla Node.js v6.3+", 9 | "node.sourceMaps.description": "(Varsa) JavaScript kaynak eşlemelerini kullanın.", 10 | "outDir.deprecationMessage": "'outDir' özniteliği kullanım dışı, bunun yerine 'outFiles' kullanın.", 11 | "node.outFiles.description": "Kaynak eşlemeleri etkinse bu glob desenleri, oluşturulan JavaScript dosyalarını belirtir. Bir desen `!` ile başlarsa dosyalar hariç tutulur. Belirtilmezse, oluşturulan kodun, kaynağıyla aynı dizinde olması beklenir.", 12 | "node.stopOnEntry.description": "Başlatıldıktan sonra programı otomatik olarak durdurun.", 13 | "node.port.description": "Eklenecek hata ayıklama bağlantı noktası. Varsayılan: 9229.", 14 | "node.address.description": "Hata ayıklama bağlantı noktasının TCP/IP adresi. Varsayılan: 'localhost'.", 15 | "node.timeout.description": "Node.js'ye bağlanmak için bu kadar milisaniye boyunca yeniden dene. Varsayılan: 10.000 ms.", 16 | "node.smartStep.description": "Özgün kaynağa geri eşlenemeyen durumdaki oluşturulan kodu otomatik olarak adımlayın.", 17 | "node.enableSourceMapCaching.description": "Kaynak eşlemeleri bir URL'den indirildiğinde, bunları bir diskte önbelleğe alın.", 18 | "node.diagnosticLogging.description": "Değer true olduğunda, bağdaştırıcı kendi tanılama bilgilerini konsola kaydeder", 19 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging' kullanım dışı. Bunun yerine 'trace' kullanın.", 20 | "node.verboseDiagnosticLogging.description": "Değer true olduğunda bağdaştırıcı, istemci ve hedefin tüm trafiğini (ve ayrıca 'diagnosticLogging' tarafından günlüğe kaydedilen bilgileri) günlüğe kaydeder", 21 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging' kullanım dışı. Bunun yerine 'trace' kullanın.", 22 | "node.trace.description": "Değer 'true' olduğunda hata ayıklayıcısı, izleme bilgilerini bir dosyaya kaydeder. 'verbose' olduğunda ayrıca günlükleri konsolda gösterir.", 23 | "node.sourceMapPathOverrides.description": "Kaynak dosyalarının konumlarını yeniden yazmak için, kaynak eşlemesinde belirtilen konumlardan dosyaların diskteki konumlarına yönelik bir dizi eşleme. Ayrıntılı bilgi için BENİOKU dosyasına bakın.", 24 | "node.skipFiles.description": "Hata ayıklama sırasında atlanacak dosya veya klasör adları ya da glob desenleri dizisi.", 25 | "node.restart.description": "Node.js sonlandırıldıktan sonra oturumu yeniden başlatın.", 26 | "node.showAsyncStacks.description": "Geçerli çağrı yığınına yol açan asenkron çağrıları gösterin.", 27 | "node.disableOptimisticBPs.description": "İlgili dosya için bir kaynak eşlemesi yüklenene kadar hiçbir dosyada kesme noktası ayarlamayın.", 28 | "node.launch.program.description": "Programın mutlak yolu.", 29 | "node.launch.console.description": "Hata ayıklama hedefinin başlatılacağı yer: iç konsol, tümleşik terminal veya dış terminal.", 30 | "node.launch.args.description": "Programa geçirilen komut satırı bağımsız değişkenleri.", 31 | "node.launch.cwd.description": "Hata ayıklama gerçekleştirilen programın çalışma dizini mutlak yolu.", 32 | "node.launch.runtimeExecutable.description": "Kullanılacak çalışma zamanı. Bir mutlak yol veya PATH üzerinde kullanılabilir bir çalışma zamanının adı. Atlanırsa `node` değeri varsayılır.", 33 | "node.launch.runtimeArgs.description": "Çalışma zamanı yürütülebilir dosyasına geçirilen isteğe bağlı bağımsız değişkenler.", 34 | "node.launch.env.description": "Programa geçirilen ortam değişkenleri. `null` değeri, değişkeni ortamdan kaldırır.", 35 | "node.launch.envFile.description": "Ortam değişkeni tanımlarını içeren bir dosyanın mutlak yolu.", 36 | "node.launch.outputCapture.description": "Çıkış iletilerinin yakalanacağı yer: Hata ayıklama API'si veya stdout/stderr akışları.", 37 | "node.launch.config.name": "Başlat", 38 | "node.attach.processId.description": "Eklenecek işlemin kimliği.", 39 | "node.attach.localRoot.description": "'remoteRoot' öğesine karşılık gelen yerel kaynak kökü.", 40 | "node.attach.remoteRoot.description": "Uzak ana bilgisayarın kaynak kökü.", 41 | "node.attach.config.name": "Ekle", 42 | "node.processattach.config.name": "İşleme İliştir", 43 | "toggle.skipping.this.file": "Bu Dosyayı Atlamayı Aç/Kapat", 44 | "extensionHost.label": "VS Code Uzantı Geliştirme", 45 | "extensionHost.launch.runtimeExecutable.description": "VS Code mutlak yolu.", 46 | "extensionHost.launch.stopOnEntry.description": "Başlatıldıktan sonra uzantı konağını otomatik olarak durdurun.", 47 | "extensionHost.launch.env.description": "Uzantı konağına geçirilen ortam değişkenleri.", 48 | "extensionHost.snippet.launch.label": "VS Code Uzantı Geliştirme", 49 | "extensionHost.snippet.launch.description": "Hata ayıklama modunda bir VS Code uzantısı başlatın", 50 | "extensionHost.launch.config.name": "Uzantıyı Başlat" 51 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/images/node-debug-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erha19/monaco-node-debug-sample/95a4fa18f7b4265818be798c93c4d92ba6046740/downloads/vscode-node-debug2/images/node-debug-icon.png -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/msbuild/NodeDebugAdapter.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | Microsoft400 27 | 28 | 29 | 30 | 31 | 32 | 33 | 0.2.0 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/msbuild/NodeDebugAdapter.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27422.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NodeDebugAdapter", "NodeDebugAdapter.csproj", "{FF72AE19-1081-4A1D-A2EA-EA50A3530289}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {FF72AE19-1081-4A1D-A2EA-EA50A3530289}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {FF72AE19-1081-4A1D-A2EA-EA50A3530289}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {FF72AE19-1081-4A1D-A2EA-EA50A3530289}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {FF72AE19-1081-4A1D-A2EA-EA50A3530289}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {A0031A13-F520-495A-A28F-38294166BF6F} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/package.nls.json: -------------------------------------------------------------------------------- 1 | { 2 | "extension.description": "Node.js debugging support", 3 | 4 | "node.label": "Node.js v6.3+ via Inspector Protocol", 5 | 6 | "node.sourceMaps.description": "Use JavaScript source maps (if they exist).", 7 | "outDir.deprecationMessage": "Attribute 'outDir' is deprecated, use 'outFiles' instead.", 8 | "node.outFiles.description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", 9 | "node.stopOnEntry.description": "Automatically stop program after launch.", 10 | "node.port.description": "Debug port to attach to. Default is 9229.", 11 | "node.address.description": "TCP/IP address of debug port. Default is 'localhost'.", 12 | "node.timeout.description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", 13 | "node.smartStep.description": "Automatically step through generated code that cannot be mapped back to the original source.", 14 | "node.enableSourceMapCaching.description": "When sourcemaps are downloaded from a URL, cache them to disk.", 15 | 16 | "node.diagnosticLogging.description": "When true, the adapter logs its own diagnostic info to the console", 17 | "node.diagnosticLogging.deprecationMessage": "'diagnosticLogging' is deprecated. Use 'trace' instead.", 18 | "node.verboseDiagnosticLogging.description": "When true, the adapter logs all traffic with the client and target (as well as the info logged by 'diagnosticLogging')", 19 | "node.verboseDiagnosticLogging.deprecationMessage": "'verboseDiagnosticLogging' is deprecated. Use 'trace' instead.", 20 | "node.trace.description": "When 'true', the debugger will log tracing info to a file. When 'verbose', it will also show logs in the console.", 21 | 22 | "node.sourceMapPathOverrides.description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk. See README for details.", 23 | "node.skipFiles.description": "An array of file or folder names, or glob patterns, to skip when debugging.", 24 | "node.restart.description": "Restart session after Node.js has terminated.", 25 | "node.showAsyncStacks.description": "Show the async calls that led to the current call stack.", 26 | 27 | "node.disableOptimisticBPs.description": "Don't set breakpoints in any file until a sourcemap has been loaded for that file.", 28 | 29 | "node.launch.program.description": "Absolute path to the program.", 30 | "node.launch.console.description": "Where to launch the debug target: internal console, integrated terminal, or external terminal.", 31 | "node.launch.args.description": "Command line arguments passed to the program.", 32 | "node.launch.cwd.description": "Absolute path to the working directory of the program being debugged.", 33 | "node.launch.runtimeExecutable.description": "Runtime to use. Either an absolute path or the name of a runtime available on the PATH. If ommitted `node` is assumed.", 34 | "node.launch.runtimeArgs.description": "Optional arguments passed to the runtime executable.", 35 | "node.launch.env.description": "Environment variables passed to the program. The value `null` removes the variable from the environment.", 36 | "node.launch.envFile.description": "Absolute path to a file containing environment variable definitions.", 37 | "node.launch.outputCapture.description": "From where to capture output messages: The debug API, or stdout/stderr streams.", 38 | 39 | "node.launch.config.name": "Launch", 40 | 41 | "node.attach.processId.description": "ID of process to attach to.", 42 | "node.attach.localRoot.description": "The local source root that corresponds to the 'remoteRoot'.", 43 | "node.attach.remoteRoot.description": "The source root of the remote host.", 44 | 45 | "node.attach.config.name": "Attach", 46 | 47 | "node.processattach.config.name": "Attach to Process", 48 | "toggle.skipping.this.file": "Toggle Skipping this File", 49 | 50 | "extensionHost.label": "VS Code Extension Development", 51 | 52 | "extensionHost.launch.runtimeExecutable.description": "Absolute path to VS Code.", 53 | "extensionHost.launch.stopOnEntry.description": "Automatically stop the extension host after launch.", 54 | "extensionHost.launch.env.description": "Environment variables passed to the extension host.", 55 | 56 | "extensionHost.snippet.launch.label": "VS Code Extension Development", 57 | "extensionHost.snippet.launch.description": "Launch a VS Code extension in debug mode", 58 | 59 | "extensionHost.launch.config.name": "Launch Extension" 60 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/src/errors.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------- 2 | * Copyright (C) Microsoft Corporation. All rights reserved. 3 | *--------------------------------------------------------*/ 4 | 5 | import { DebugProtocol } from 'vscode-debugprotocol'; 6 | 7 | import * as nls from 'vscode-nls'; 8 | import { ErrorWithMessage } from 'vscode-chrome-debug-core'; 9 | const localize = nls.loadMessageBundle(); 10 | 11 | export function runtimeNotFound(_runtime: string): DebugProtocol.Message { 12 | return new ErrorWithMessage({ 13 | id: 2001, 14 | format: localize('VSND2001', "Cannot find runtime '{0}' on PATH. Is '{0}' installed?", '{_runtime}'), 15 | variables: { _runtime } 16 | }); 17 | } 18 | 19 | export function cannotLaunchInTerminal(_error: string): DebugProtocol.Message { 20 | return new ErrorWithMessage({ 21 | id: 2011, 22 | format: localize('VSND2011', 'Cannot launch debug target in terminal ({0}).', '{_error}'), 23 | variables: { _error } 24 | }); 25 | } 26 | 27 | export function cannotLaunchDebugTarget(_error: string): DebugProtocol.Message { 28 | return new ErrorWithMessage({ 29 | id: 2017, 30 | format: localize('VSND2017', 'Cannot launch debug target ({0}).', '{_error}'), 31 | variables: { _error }, 32 | showUser: true, 33 | sendTelemetry: true 34 | }); 35 | } 36 | 37 | export function cannotDebugExtension(_error: string): DebugProtocol.Message { 38 | return new ErrorWithMessage({ 39 | id: 2035, 40 | format: localize('VSND2035', 'Cannot debug extension ({0}).', '{_error}'), 41 | variables: { _error }, 42 | showUser: true, 43 | sendTelemetry: true 44 | }); 45 | } 46 | 47 | export function unknownConsoleType(consoleType: string): DebugProtocol.Message { 48 | return new ErrorWithMessage({ 49 | id: 2028, 50 | format: localize('VSND2028', "Unknown console type '{0}'.", consoleType) 51 | }); 52 | } 53 | 54 | export function cannotLaunchBecauseSourceMaps(programPath: string): DebugProtocol.Message { 55 | return new ErrorWithMessage({ 56 | id: 2002, 57 | format: localize('VSND2002', "Cannot launch program '{0}'; configuring source maps might help.", '{path}'), 58 | variables: { path: programPath } 59 | }); 60 | } 61 | 62 | export function cannotLaunchBecauseOutFiles(programPath: string): DebugProtocol.Message { 63 | return new ErrorWithMessage({ 64 | id: 2003, 65 | format: localize('VSND2003', "Cannot launch program '{0}'; setting the '{1}' attribute might help.", '{path}', 'outFiles'), 66 | variables: { path: programPath } 67 | }); 68 | } 69 | 70 | export function cannotLaunchBecauseJsNotFound(programPath: string): DebugProtocol.Message { 71 | return new ErrorWithMessage({ 72 | id: 2009, 73 | format: localize('VSND2009', "Cannot launch program '{0}' because corresponding JavaScript cannot be found.", '{path}'), 74 | variables: { path: programPath } 75 | }); 76 | } 77 | 78 | export function cannotLoadEnvVarsFromFile(error: string): DebugProtocol.Message { 79 | return new ErrorWithMessage({ 80 | id: 2029, 81 | format: localize('VSND2029', "Can't load environment variables from file ({0}).", '{_error}'), 82 | variables: { _error: error } 83 | }); 84 | } 85 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/src/extension.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------- 2 | * Copyright (C) Microsoft Corporation. All rights reserved. 3 | *--------------------------------------------------------*/ 4 | 5 | import * as vscode from 'vscode'; 6 | import * as Core from 'vscode-chrome-debug-core'; 7 | 8 | export function activate(context: vscode.ExtensionContext) { 9 | context.subscriptions.push(vscode.commands.registerCommand('extension.node-debug2.toggleSkippingFile', toggleSkippingFile)); 10 | } 11 | 12 | export function deactivate() { 13 | } 14 | 15 | function toggleSkippingFile(path: string|number): void { 16 | if (!path) { 17 | const activeEditor = vscode.window.activeTextEditor; 18 | path = activeEditor && activeEditor.document.fileName; 19 | } 20 | 21 | if (path && vscode.debug.activeDebugSession) { 22 | const args: Core.IToggleSkipFileStatusArgs = typeof path === 'string' ? { path } : { sourceReference: path }; 23 | vscode.debug.activeDebugSession.customRequest('toggleSkipFileStatus', args); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/src/nodeDebug.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------- 2 | * Copyright (C) Microsoft Corporation. All rights reserved. 3 | *--------------------------------------------------------*/ 4 | 5 | import { ChromeDebugSession, logger, telemetry } from 'vscode-chrome-debug-core'; 6 | import * as path from 'path'; 7 | import * as os from 'os'; 8 | 9 | import { NodeDebugAdapter } from './nodeDebugAdapter'; 10 | 11 | ChromeDebugSession.run(ChromeDebugSession.getSession( 12 | { 13 | logFilePath: path.join(os.tmpdir(), 'vscode-node-debug2.txt'), // non-.txt file types can't be uploaded to github 14 | adapter: NodeDebugAdapter, 15 | extensionName: 'node-debug2' 16 | })); 17 | 18 | /* tslint:disable:no-var-requires */ 19 | const debugAdapterVersion = require('../../package.json').version; 20 | logger.log('node-debug2: ' + debugAdapterVersion); 21 | 22 | /* __GDPR__FRAGMENT__ 23 | "DebugCommonProperties" : { 24 | "Versions.DebugAdapter" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" } 25 | } 26 | */ 27 | telemetry.telemetry.addCustomGlobalProperty({'Versions.DebugAdapter': debugAdapterVersion}); 28 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/src/nodeDebugInterfaces.d.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------- 2 | * Copyright (C) Microsoft Corporation. All rights reserved. 3 | *--------------------------------------------------------*/ 4 | 5 | import { DebugProtocol } from 'vscode-debugprotocol'; 6 | import * as Core from 'vscode-chrome-debug-core'; 7 | 8 | type ConsoleType = 'internalConsole' | 'integratedTerminal' | 'externalTerminal'; 9 | 10 | type OutputCaptureType = 'console' | 'std'; 11 | 12 | export interface ICommonRequestArgs extends Core.ICommonRequestArgs { 13 | stopOnEntry?: boolean; 14 | address?: string; 15 | timeout?: number; 16 | /** Optional cwd for sourceMapPathOverrides resolution */ 17 | cwd?: string; 18 | /** Request frontend to restart session on termination. */ 19 | restart?: boolean; 20 | 21 | /** Don't set breakpoints in JS files that don't have sourcemaps */ 22 | disableOptimisticBPs?: boolean; 23 | } 24 | 25 | /** 26 | * This interface should always match the schema found in the node-debug extension manifest. 27 | */ 28 | export interface ILaunchRequestArguments extends Core.ILaunchRequestArgs, ICommonRequestArgs { 29 | /** An absolute path to the program to debug. */ 30 | program: string; 31 | /** Optional arguments passed to the debuggee. */ 32 | args?: string[]; 33 | /** Launch the debuggee in this working directory (specified as an absolute path). If omitted the debuggee is lauched in its own directory. */ 34 | cwd: string; 35 | /** Absolute path to the runtime executable to be used. Default is the runtime executable on the PATH. */ 36 | runtimeExecutable?: string; 37 | /** Optional arguments passed to the runtime executable. */ 38 | runtimeArgs?: string[]; 39 | /** Optional environment variables to pass to the debuggee. The string valued properties of the 'environmentVariables' are used as key/value pairs. */ 40 | env?: { [key: string]: string | null; }; 41 | envFile?: string; 42 | /** Where to launch the debug target. */ 43 | console?: ConsoleType; 44 | /** Manually selected debugging port */ 45 | port?: number; 46 | /** Source of the debug output */ 47 | outputCapture?: OutputCaptureType; 48 | /** Use Windows Subsystem for Linux */ 49 | useWSL?: boolean; 50 | runtimeVersion?: string; 51 | 52 | /** Logging options */ 53 | diagnosticLogging?: boolean; 54 | verboseDiagnosticLogging?: boolean; 55 | 56 | // extensionHost option 57 | __sessionId?: string; 58 | 59 | // When node version is detected by node-debug 60 | __nodeVersion?: string; 61 | } 62 | 63 | /** 64 | * This interface should always match the schema found in the node-debug extension manifest. 65 | */ 66 | export interface IAttachRequestArguments extends Core.IAttachRequestArgs, ICommonRequestArgs { 67 | /** Node's root directory. */ 68 | remoteRoot?: string; 69 | /** VS Code's root directory. */ 70 | localRoot?: string; 71 | /** Send a USR1 signal to this process. */ 72 | processId?: string; 73 | } 74 | 75 | /** 76 | * This interface represents a single command line argument split into a "prefix" and a "path" half. 77 | * The optional "prefix" contains arbitrary text and the optional "path" contains a file system path. 78 | * Concatenating both results in the original command line argument. 79 | */ 80 | export interface ILaunchVSCodeArgument { 81 | prefix?: string; 82 | path?: string; 83 | } 84 | 85 | export interface ILaunchVSCodeArguments { 86 | args: ILaunchVSCodeArgument[]; 87 | env?: { [key: string]: string | null; }; 88 | } 89 | 90 | export type NodeDebugError = DebugProtocol.Message & Error; 91 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/src/terminateProcess.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | terminateTree() { 4 | for cpid in $(/usr/bin/pgrep -P $1); do 5 | terminateTree $cpid 6 | done 7 | kill -9 $1 > /dev/null 2>&1 8 | } 9 | 10 | for pid in $*; do 11 | terminateTree $pid 12 | done -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/src/utils.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------- 2 | * Copyright (C) Microsoft Corporation. All rights reserved. 3 | *--------------------------------------------------------*/ 4 | 5 | import * as path from 'path'; 6 | import * as fs from 'fs'; 7 | import * as cp from 'child_process'; 8 | 9 | const NODE_SHEBANG_MATCHER = new RegExp('#! */usr/bin/env +node'); 10 | 11 | const JS_EXTENSIONS = ['.js', '.es6', '.jsx', '.mjs']; 12 | 13 | export function isJavaScript(aPath: string): boolean { 14 | const ext = path.extname(aPath).toLowerCase(); 15 | if (ext) { 16 | if (JS_EXTENSIONS.indexOf(ext) >= 0) { 17 | return true; 18 | } 19 | } else if (path.basename(aPath).toLowerCase() === 'www') { 20 | return true; 21 | } 22 | 23 | try { 24 | const buffer = Buffer.alloc(30); 25 | const fd = fs.openSync(aPath, 'r'); 26 | fs.readSync(fd, buffer, 0, buffer.length, 0); 27 | fs.closeSync(fd); 28 | const line = buffer.toString(); 29 | if (NODE_SHEBANG_MATCHER.test(line)) { 30 | return true; 31 | } 32 | } catch (e) { 33 | // silently ignore problems 34 | } 35 | 36 | return false; 37 | } 38 | 39 | export function random(low: number, high: number): number { 40 | return Math.floor(Math.random() * (high - low) + low); 41 | } 42 | 43 | export function killTree(processId: number): void { 44 | if (process.platform === 'win32') { 45 | const windir = process.env['WINDIR'] || 'C:\\Windows'; 46 | const TASK_KILL = path.join(windir, 'System32', 'taskkill.exe'); 47 | 48 | // when killing a process in Windows its child processes are *not* killed but become root processes. 49 | // Therefore we use TASKKILL.EXE 50 | try { 51 | cp.execSync(`${TASK_KILL} /F /T /PID ${processId}`); 52 | } catch (err) { 53 | } 54 | } else { 55 | // on linux and OS X we kill all direct and indirect child processes as well 56 | try { 57 | const cmd = path.join(__dirname, './terminateProcess.sh'); 58 | cp.spawnSync(cmd, [ processId.toString() ]); 59 | } catch (err) { 60 | } 61 | } 62 | } 63 | 64 | export function trimLastNewline(msg: string): string { 65 | return msg.replace(/(\n|\r\n)$/, ''); 66 | } 67 | 68 | export function extendObject(toObject: T, fromObject: T): T { 69 | for (let key in fromObject) { 70 | if (fromObject.hasOwnProperty(key)) { 71 | toObject[key] = fromObject[key]; 72 | } 73 | } 74 | 75 | return toObject; 76 | } 77 | 78 | export function stripBOM(s: string): string { 79 | if (s && s[0] === '\uFEFF') { 80 | s = s.substr(1); 81 | } 82 | return s; 83 | } 84 | 85 | const semverRegex = /v?(\d+)\.(\d+)\.(\d+)/; 86 | export function compareSemver(a: string, b: string): number { 87 | const aNum = versionStringToNumber(a); 88 | const bNum = versionStringToNumber(b); 89 | 90 | return aNum - bNum; 91 | } 92 | 93 | function versionStringToNumber(str: string): number { 94 | const match = str.match(semverRegex); 95 | if (!match) { 96 | throw new Error('Invalid node version string: ' + str); 97 | } 98 | 99 | return parseInt(match[1], 10) * 10000 + parseInt(match[2], 10) * 100 + parseInt(match[3], 10); 100 | } 101 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/src/wslSupport.ts: -------------------------------------------------------------------------------- 1 | import * as path from 'path'; 2 | import * as fs from 'fs'; 3 | import * as child_process from 'child_process'; 4 | 5 | const isWindows = process.platform === 'win32'; 6 | const is64bit = process.arch === 'x64'; 7 | 8 | export function subsystemForLinuxPresent(): boolean { 9 | if (!isWindows) { 10 | return false; 11 | } 12 | 13 | const bashPath32bitApp = path.join(process.env['SystemRoot'], 'Sysnative', 'bash.exe'); 14 | const bashPath64bitApp = path.join(process.env['SystemRoot'], 'System32', 'bash.exe'); 15 | const bashPathHost = is64bit ? bashPath64bitApp : bashPath32bitApp; 16 | return fs.existsSync(bashPathHost); 17 | } 18 | 19 | function windowsPathToWSLPath(windowsPath: string): string { 20 | if (!isWindows || !windowsPath) { 21 | return undefined; 22 | } else if (path.isAbsolute(windowsPath)) { 23 | return `/mnt/${windowsPath.substr(0, 1).toLowerCase()}/${windowsPath.substr(3).replace(/\\/g, '/')}`; 24 | } else { 25 | return windowsPath.replace(/\\/g, '/'); 26 | } 27 | } 28 | 29 | export interface ILaunchArgs { 30 | cwd: string; 31 | executable: string; 32 | args: string[]; 33 | combined: string[]; 34 | localRoot?: string; 35 | remoteRoot?: string; 36 | } 37 | 38 | export function createLaunchArg(useSubsytemLinux: boolean | undefined, useExternalConsole: boolean, cwd: string | undefined, executable: string, args?: string[], program?: string): ILaunchArgs { 39 | if (useSubsytemLinux && subsystemForLinuxPresent()) { 40 | const bashPath32bitApp = path.join(process.env['SystemRoot'], 'Sysnative', 'bash.exe'); 41 | const bashPath64bitApp = path.join(process.env['SystemRoot'], 'System32', 'bash.exe'); 42 | const bashPathHost = is64bit ? bashPath64bitApp : bashPath32bitApp; 43 | const subsystemLinuxPath = useExternalConsole ? bashPath64bitApp : bashPathHost; 44 | 45 | const bashCommand = [executable].concat(args || []).map(element => { 46 | if (element === program) { // workaround for issue #35249 47 | element = element.replace(/\\/g, '/'); 48 | } 49 | return element.indexOf(' ') > 0 ? `'${element}'` : element; 50 | }).join(' '); 51 | return { 52 | cwd, 53 | executable: subsystemLinuxPath, 54 | args: ['-ic', bashCommand], 55 | combined: [subsystemLinuxPath].concat(['-ic', bashCommand]), 56 | localRoot: cwd, 57 | remoteRoot: windowsPathToWSLPath(cwd) 58 | }; 59 | } else { 60 | return { 61 | cwd: cwd, 62 | executable: executable, 63 | args: args || [], 64 | combined: [executable].concat(args || []) 65 | }; 66 | } 67 | } 68 | 69 | export function spawn(useWSL: boolean, executable: string, args?: string[], options?: child_process.SpawnOptions) { 70 | const launchArgs = createLaunchArg(useWSL, false, undefined, executable, args); 71 | return child_process.spawn(launchArgs.executable, launchArgs.args, options); 72 | } 73 | 74 | export function spawnSync(useWSL: boolean, executable: string, args?: string[], options?: child_process.SpawnSyncOptions) { 75 | const launchArgs = createLaunchArg(useWSL, false, undefined, executable, args); 76 | return child_process.spawnSync(launchArgs.executable, launchArgs.args, options); 77 | } 78 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/test/testSetup.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | 6 | import * as os from 'os'; 7 | import * as path from 'path'; 8 | import * as ts from 'vscode-chrome-debug-core-testsupport'; 9 | import * as findFreePort from 'find-free-port'; 10 | 11 | const NIGHTLY_NAME = os.platform() === 'win32' ? 'node-nightly.cmd' : 'node-nightly'; 12 | 13 | function findPort(): Promise { 14 | return new Promise(resolve => { 15 | findFreePort(9000, (err, port) => { 16 | if (err) return resolve(9229); 17 | 18 | resolve(port); 19 | }); 20 | }); 21 | } 22 | 23 | async function patchLaunchArgs(launchArgs: any): Promise { 24 | launchArgs.trace = 'verbose'; 25 | if (process.version.startsWith('v6.2')) { 26 | launchArgs.runtimeExecutable = NIGHTLY_NAME; 27 | } 28 | 29 | if (!launchArgs.port) { 30 | launchArgs.port = await findPort(); 31 | launchArgs.runtimeArgs = launchArgs.runtimeArgs || []; 32 | launchArgs.runtimeArgs.push(`--inspect=${launchArgs.port}`, '--debug-brk'); 33 | } 34 | } 35 | 36 | export function setup(_opts?: { port?: number, alwaysDumpLogs?: boolean }) { 37 | const opts = Object.assign({ 38 | entryPoint: './out/src/nodeDebug.js', 39 | type: 'node2', 40 | patchLaunchArgs 41 | }, _opts); 42 | 43 | return ts.setup(opts); 44 | } 45 | 46 | export function teardown() { 47 | ts.teardown(); 48 | } 49 | 50 | export const lowercaseDriveLetterDirname = __dirname.charAt(0).toLowerCase() + __dirname.substr(1); 51 | export const PROJECT_ROOT = path.join(lowercaseDriveLetterDirname, '../../'); 52 | export const DATA_ROOT = path.join(PROJECT_ROOT, 'testdata/'); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/test/variables.test.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | *--------------------------------------------------------------------------------------------*/ 5 | 6 | import * as assert from 'assert'; 7 | import * as path from 'path'; 8 | 9 | import * as ts from 'vscode-chrome-debug-core-testsupport'; 10 | // import { DebugProtocol } from 'vscode-debugprotocol'; 11 | 12 | import * as testSetup from './testSetup'; 13 | 14 | const DATA_ROOT = testSetup.DATA_ROOT; 15 | 16 | suite('Variables', () => { 17 | 18 | let dc: ts.debugClient.ExtendedDebugClient; 19 | setup(() => { 20 | return testSetup.setup() 21 | .then(_dc => dc = _dc); 22 | }); 23 | 24 | teardown(() => { 25 | return testSetup.teardown(); 26 | }); 27 | 28 | test('retrieves props of a large buffer', async () => { 29 | const PROGRAM = path.join(DATA_ROOT, 'large-buffer/largeBuffer.js'); 30 | await dc.hitBreakpoint({ program: PROGRAM }, { path: PROGRAM, line: 2 }); 31 | 32 | const stack = await dc.stackTraceRequest(); 33 | assert(stack.body.stackFrames && stack.body.stackFrames.length > 0, 'Did not return any stackframes'); 34 | 35 | const firstFrameId = stack.body.stackFrames[0].id; 36 | const scopes = await dc.scopesRequest({ frameId: firstFrameId }); 37 | assert(scopes.body.scopes && scopes.body.scopes.length > 0, 'Did not return any scopes'); 38 | 39 | const localScope = scopes.body.scopes[0]; 40 | const localScopeVars = await dc.variablesRequest({ variablesReference: localScope.variablesReference }); 41 | const bufferVar = localScopeVars.body.variables.find(vbl => vbl.name === 'buffer'); 42 | assert(bufferVar, 'Did not return a var named buffer'); 43 | assert(bufferVar.indexedVariables > 0, 'Must return some indexedVariables'); 44 | assert(bufferVar.namedVariables === 0, 'Must not return namedVariables'); 45 | 46 | const bufferProps = await dc.variablesRequest({ variablesReference: bufferVar.variablesReference, filter: 'indexed', start: 0, count: 100 }); 47 | 48 | // Just assert that something is returned, and that the last request doesn't fail or time out 49 | assert(bufferProps.body.variables.length > 0, 'Some variables must be returned'); 50 | }); 51 | }); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "debugServer": 4712, 6 | "type": "node", 7 | "request": "launch", 8 | "name": "Launch Program", 9 | "trace": true, 10 | "program": "${file}" 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-files-with-exception/out/sourceA.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var sourceB_1 = require('./sourceB'); 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | sourceB_1.callbackCaller(f); 7 | console.log('stepped over caught exception'); 8 | //# sourceMappingURL=sourceA.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-files-with-exception/out/sourceB.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | function callbackCaller(cb) { 3 | try { 4 | throw new Error('test error'); 5 | } 6 | catch (e) { 7 | } 8 | cb(); 9 | } 10 | exports.callbackCaller = callbackCaller; 11 | //# sourceMappingURL=sourceB.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-files-with-exception/src/sourceA.ts: -------------------------------------------------------------------------------- 1 | import {callbackCaller} from './sourceB'; 2 | 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | 7 | callbackCaller(f); 8 | console.log('stepped over caught exception'); 9 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-files-with-exception/src/sourceB.ts: -------------------------------------------------------------------------------- 1 | export function callbackCaller(cb: Function): void { 2 | try { 3 | throw new Error('test error'); 4 | } catch (e) { 5 | 6 | } 7 | 8 | cb(); 9 | } 10 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-files-with-exception/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "out", 4 | "sourceMap": true 5 | } 6 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to find out which attributes exist for node debugging 3 | // Use hover for the description of the existing attributes 4 | // For further information visit https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "Launch Program", 9 | "type": "node2", 10 | "request": "launch", 11 | "program": "${workspaceFolder}/out/bundle.js", 12 | "cwd": "${workspaceFolder}", 13 | "outFiles": [], 14 | "sourceMaps": true 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/gulpfile.js: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------- 2 | * Copyright (C) Microsoft Corporation. All rights reserved. 3 | *--------------------------------------------------------*/ 4 | 5 | const gulp = require('gulp'); 6 | const ts = require('gulp-typescript'); 7 | const typescript = require('typescript'); 8 | const sourcemaps = require('gulp-sourcemaps'); 9 | const concat = require('gulp-concat'); 10 | const filter = require('gulp-filter'); 11 | 12 | const tsProject = ts.createProject('tsconfig.json', { typescript }); 13 | gulp.task('build', function () { 14 | const sourceBFilter = filter(['**/sourceB*'], { restore: true }); 15 | 16 | return tsProject.src() 17 | .pipe(sourcemaps.init()) 18 | .pipe(tsProject()).js 19 | .pipe(sourceBFilter) 20 | .pipe(concat('sourceB1.js')) // Needs to match what A imports, hacky 21 | .pipe(sourceBFilter.restore) 22 | .pipe(sourcemaps.write('.', { includeContent: false })) 23 | .pipe(gulp.dest('./out')); 24 | }); 25 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/out/b.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | function callbackCaller1(cb) { 3 | callbackCaller2(cb); 4 | } 5 | exports.callbackCaller1 = callbackCaller1; 6 | 7 | "use strict"; 8 | function callbackCaller2(cb) { 9 | cb(); 10 | } 11 | exports.callbackCaller2 = callbackCaller2; 12 | 13 | //# sourceMappingURL=b.js.map 14 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/out/sourceA.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var sourceB1_1 = require("./sourceB1"); 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | setInterval(function () { 7 | sourceB1_1.callbackCaller1(f); 8 | }, 0); 9 | 10 | //# sourceMappingURL=sourceA.js.map 11 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/out/sourceB1.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | function callbackCaller1(cb) { 3 | callbackCaller2(cb); 4 | } 5 | exports.callbackCaller1 = callbackCaller1; 6 | 7 | "use strict"; 8 | function callbackCaller2(cb) { 9 | cb(); 10 | } 11 | exports.callbackCaller2 = callbackCaller2; 12 | 13 | //# sourceMappingURL=sourceB1.js.map 14 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testdata-calls-between-merged-files", 3 | "version": "1.0.0", 4 | "description": "Test project for vscode-node-debug2 using gulp", 5 | "author": "", 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "gulp build" 9 | }, 10 | "dependencies": {}, 11 | "devDependencies": { 12 | "@types/node": "^6.0.41", 13 | "gulp": "^3.9.1", 14 | "gulp-concat": "^2.6.1", 15 | "gulp-filter": "^4.0.0", 16 | "gulp-sourcemaps": "^1.9.1", 17 | "gulp-typescript": "^3.1.4", 18 | "typescript": "^2.1.4" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/sourceA.ts: -------------------------------------------------------------------------------- 1 | import {callbackCaller1} from './sourceB1'; 2 | 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | 7 | setInterval(() => { 8 | callbackCaller1(f); 9 | }, 0); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/sourceB1.ts: -------------------------------------------------------------------------------- 1 | declare const callbackCaller2: Function; // b1 and b2 are concatenated 2 | 3 | export function callbackCaller1(cb: Function): void { 4 | callbackCaller2(cb); 5 | } 6 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/sourceB2.ts: -------------------------------------------------------------------------------- 1 | export function callbackCaller2(cb: Function): void { 2 | cb(); 3 | } 4 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-merged-files/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "out", 4 | "target": "es5", 5 | "sourceMap": true 6 | } 7 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-multiple-files/out/sourceA.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var sourceB1_1 = require('./sourceB1'); 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | setInterval(function () { 7 | sourceB1_1.callbackCaller1(f); 8 | }, 0); 9 | //# sourceMappingURL=sourceA.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-multiple-files/out/sourceB1.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var sourceB2_1 = require('./sourceB2'); 3 | function callbackCaller1(cb) { 4 | sourceB2_1.callbackCaller2(cb); 5 | } 6 | exports.callbackCaller1 = callbackCaller1; 7 | //# sourceMappingURL=sourceB1.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-multiple-files/out/sourceB2.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | function callbackCaller2(cb) { 3 | cb(); 4 | } 5 | exports.callbackCaller2 = callbackCaller2; 6 | //# sourceMappingURL=sourceB2.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-multiple-files/sourceA.ts: -------------------------------------------------------------------------------- 1 | import {callbackCaller1} from './sourceB1'; 2 | 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | 7 | setInterval(() => { 8 | callbackCaller1(f); 9 | }, 0); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-multiple-files/sourceB1.ts: -------------------------------------------------------------------------------- 1 | import {callbackCaller2} from './sourceB2'; 2 | 3 | export function callbackCaller1(cb: Function): void { 4 | callbackCaller2(cb); 5 | } 6 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-multiple-files/sourceB2.ts: -------------------------------------------------------------------------------- 1 | export function callbackCaller2(cb: Function): void { 2 | cb(); 3 | } 4 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-multiple-files/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "out", 4 | "target": "es5", 5 | "sourceMap": true 6 | } 7 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-sourcemapped-files/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "type": "node2", 6 | "request": "launch", 7 | "name": "Launch Program", 8 | "program": "${workspaceFolder}/src/sourceA.ts", 9 | "outFiles": [ 10 | "${workspaceFolder}/out/**/*.js" 11 | ], 12 | "cwd": "${workspaceFolder}" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-sourcemapped-files/out/sourceA.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var sourceB_1 = require('./sourceB'); 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | setInterval(function () { 7 | sourceB_1.callbackCaller(f); 8 | }, 500); 9 | //# sourceMappingURL=sourceA.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-sourcemapped-files/out/sourceB.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | function callbackCaller(cb) { 3 | cb(); 4 | } 5 | exports.callbackCaller = callbackCaller; 6 | //# sourceMappingURL=sourceB.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-sourcemapped-files/src/sourceA.ts: -------------------------------------------------------------------------------- 1 | import {callbackCaller} from './sourceB'; 2 | 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | 7 | setInterval(() => { 8 | callbackCaller(f); 9 | }, 500); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-sourcemapped-files/src/sourceB.ts: -------------------------------------------------------------------------------- 1 | export function callbackCaller(cb: Function): void { 2 | cb(); 3 | } 4 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/calls-between-sourcemapped-files/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "out", 4 | "sourceMap": true 5 | } 6 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/es-modules/file1.mjs: -------------------------------------------------------------------------------- 1 | import './file2.mjs'; 2 | 3 | console.log('file1 loaded'); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/es-modules/file2.mjs: -------------------------------------------------------------------------------- 1 | console.log(`file2 loaded`); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/folder with spaces/file with spaces.js: -------------------------------------------------------------------------------- 1 | var a = []; 2 | a.push("line 1"); 3 | a.push("line 2"); 4 | a.push("line 3"); 5 | a.push("line 4"); 6 | a.push("line 5"); 7 | a.push("line 6"); 8 | 9 | var x = 0; 10 | 11 | for (var i = 0; i < a.length; i++) { 12 | x = i*i; 13 | console.log(x); 14 | } 15 | 16 | process.exit(); // ensure that program terminates -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/glob/f1/file11.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erha19/monaco-node-debug-sample/95a4fa18f7b4265818be798c93c4d92ba6046740/downloads/vscode-node-debug2/testdata/glob/f1/file11.js -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/glob/f1/file12.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erha19/monaco-node-debug-sample/95a4fa18f7b4265818be798c93c4d92ba6046740/downloads/vscode-node-debug2/testdata/glob/f1/file12.js -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/glob/f2/file21.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erha19/monaco-node-debug-sample/95a4fa18f7b4265818be798c93c4d92ba6046740/downloads/vscode-node-debug2/testdata/glob/f2/file21.js -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/glob/f2/file22.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erha19/monaco-node-debug-sample/95a4fa18f7b4265818be798c93c4d92ba6046740/downloads/vscode-node-debug2/testdata/glob/f2/file22.js -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/glob/f3/file31.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erha19/monaco-node-debug-sample/95a4fa18f7b4265818be798c93c4d92ba6046740/downloads/vscode-node-debug2/testdata/glob/f3/file31.js -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/glob/f3/file32.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erha19/monaco-node-debug-sample/95a4fa18f7b4265818be798c93c4d92ba6046740/downloads/vscode-node-debug2/testdata/glob/f3/file32.js -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/large-buffer/largeBuffer.js: -------------------------------------------------------------------------------- 1 | let buffer = Buffer.alloc(1024 * 1024 * 1024 - 1); 2 | console.log(buffer.length); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/native-async-await/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Program", 11 | "program": "${file}", 12 | // "runtimeExecutable": "/Users/roblou/.nvm/versions/node/v9.2.1/bin/node", 13 | "trace": true, 14 | "skipFiles": ["/**"] 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/native-async-await/main.js: -------------------------------------------------------------------------------- 1 | async function asyncFn() { 2 | return new Promise(resolve => { 3 | setTimeout(resolve, 0); 4 | }) 5 | } 6 | 7 | async function asyncFn1() { 8 | await asyncFn(); 9 | return asyncFn2(); 10 | } 11 | 12 | async function asyncFn2() { 13 | await asyncFn(); 14 | return asyncFn3(); 15 | } 16 | 17 | async function asyncFn3() { 18 | await asyncFn(); 19 | return asyncFn4(); 20 | } 21 | 22 | async function asyncFn4() { 23 | await asyncFn(); 24 | return asyncFn5(); 25 | } 26 | 27 | async function asyncFn5() { 28 | await asyncFn(); 29 | return asyncFn6(); 30 | } 31 | 32 | async function asyncFn6() { 33 | await asyncFn(); 34 | return asyncFn7(); 35 | } 36 | 37 | async function asyncFn7() { 38 | await asyncFn(); 39 | } 40 | asyncFn1().then(() => { 41 | console.log(`done`); 42 | }); 43 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/nodeInternalsCaughtException.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | 3 | try { 4 | fs.readFileSync('sldfk'); 5 | } catch (e) {} 6 | 7 | console.log('done'); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/program.js: -------------------------------------------------------------------------------- 1 | var a = []; 2 | a.push("line 1"); 3 | a.push("line 2"); 4 | a.push("line 3"); 5 | a.push("line 4"); 6 | a.push("line 5"); 7 | a.push("line 6"); 8 | 9 | var x = 0; 10 | 11 | for (var i = 0; i < a.length; i++) { 12 | x = i*i; 13 | console.log(x); 14 | } 15 | 16 | process.exit(); // ensure that program terminates -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/programSingleLine.js: -------------------------------------------------------------------------------- 1 | console.log("1"); console.log("2"); console.log("3"); console.log("4"); console.log("5"); console.log("6"); console.log("7"); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/programWithConsoleLogging.js: -------------------------------------------------------------------------------- 1 | for (var i = 0; i < 10; i++) { 2 | console.log('log: ' + i); 3 | console.error('error: ' + i); 4 | } 5 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/programWithDebugger.js: -------------------------------------------------------------------------------- 1 | var a = []; 2 | a.push("line 1"); 3 | a.push("line 2"); 4 | a.push("line 3"); 5 | 6 | debugger; 7 | 8 | a.push("line 4"); 9 | a.push("line 5"); 10 | a.push("line 6"); 11 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/programWithException.js: -------------------------------------------------------------------------------- 1 | console.log("line 1"); 2 | console.log("line 2"); 3 | console.log("line 3"); 4 | 5 | try { 6 | throw new Error("error"); 7 | } catch(e) { 8 | console.log("exception: " + e); 9 | } 10 | 11 | console.log("line 4"); 12 | console.foobar("line 5"); 13 | console.log("line 6"); 14 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/programWithFunction.js: -------------------------------------------------------------------------------- 1 | 2 | // global function 3 | foo = function(n) { 4 | return n; 5 | } 6 | 7 | bar = function(n) { 8 | return n; 9 | } 10 | 11 | console.log('foo defined'); 12 | 13 | setInterval(function() { 14 | foo(321); 15 | foo(123); 16 | }, 300); 17 | 18 | setInterval(function() { 19 | bar(123); 20 | }, 300); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/programWithUncaughtException.js: -------------------------------------------------------------------------------- 1 | console.log('hi'); 2 | throw new Error('uncaught exception'); 3 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/programWithVariables.js: -------------------------------------------------------------------------------- 1 | const global = "global" 2 | 3 | function locals() { 4 | let num = 1 5 | const str = "hello" 6 | const arr = [num, str] 7 | const obj = { a: 1, b: "hi" } 8 | debugger 9 | } 10 | 11 | locals() -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/promise-chain/main.js: -------------------------------------------------------------------------------- 1 | function asyncFn() { 2 | return Promise.resolve('foo'); 3 | } 4 | 5 | function async1() { 6 | return asyncFn().then(() => { 7 | return async2(); 8 | }); 9 | } 10 | 11 | function async2() { 12 | return asyncFn().then(() => { 13 | return async3(); 14 | }); 15 | } 16 | 17 | function async3() { 18 | return asyncFn().then(() => { 19 | return async4(); 20 | }); 21 | } 22 | 23 | function async4() { 24 | return asyncFn().then(() => { 25 | return async5(); 26 | }); 27 | } 28 | 29 | function async5() { 30 | return asyncFn().then(() => { 31 | return async6(); 32 | }); 33 | } 34 | 35 | function async6() { 36 | return asyncFn().then(() => { 37 | return async7(); 38 | }); 39 | } 40 | 41 | function async7() { 42 | return asyncFn(); 43 | } 44 | 45 | async1().then(() => { 46 | console.log(`done`); 47 | }); 48 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/simple-eval/index.js: -------------------------------------------------------------------------------- 1 | eval('let x = 1'); 2 | 3 | let y = 2; -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemap-no-sourceMappingURL/out/classes.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || function (d, b) { 2 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 3 | function __() { this.constructor = d; } 4 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 5 | }; 6 | var Foo = (function () { 7 | function Foo(name) { 8 | this._name = name; 9 | } 10 | Foo.prototype.getName = function () { 11 | return this._name; 12 | }; 13 | return Foo; 14 | })(); 15 | var Bar = (function (_super) { 16 | __extends(Bar, _super); 17 | function Bar() { 18 | _super.apply(this, arguments); 19 | } 20 | Bar.prototype.getName = function () { 21 | return _super.prototype.getName.call(this) + ' Doe'; 22 | }; 23 | return Bar; 24 | })(Foo); 25 | var bar = new Bar('John2'); 26 | console.log(bar.getName()); // John Doe 27 | 28 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemap-no-sourceMappingURL/src/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName() : string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName() : string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | var bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps with spaces/the distribution/classes.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || function (d, b) { 2 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 3 | function __() { this.constructor = d; } 4 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 5 | }; 6 | var Foo = (function () { 7 | function Foo(name) { 8 | this._name = name; 9 | } 10 | Foo.prototype.getName = function () { 11 | return this._name; 12 | }; 13 | return Foo; 14 | })(); 15 | var Bar = (function (_super) { 16 | __extends(Bar, _super); 17 | function Bar() { 18 | _super.apply(this, arguments); 19 | } 20 | Bar.prototype.getName = function () { 21 | return _super.prototype.getName.call(this) + ' Doe'; 22 | }; 23 | return Bar; 24 | })(Foo); 25 | var bar = new Bar('John2'); 26 | console.log(bar.getName()); // John Doe 27 | 28 | //# sourceMappingURL=../the maps/classes.js.map 29 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps with spaces/the source/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName() : string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName() : string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | var bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-2574/out/classes.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || function (d, b) { 2 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 3 | function __() { this.constructor = d; } 4 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 5 | }; 6 | var Foo = (function () { 7 | function Foo(name) { 8 | this._name = name; 9 | } 10 | Foo.prototype.getName = function () { 11 | return this._name; 12 | }; 13 | return Foo; 14 | })(); 15 | var Bar = (function (_super) { 16 | __extends(Bar, _super); 17 | function Bar() { 18 | _super.apply(this, arguments); 19 | } 20 | Bar.prototype.getName = function () { 21 | return _super.prototype.getName.call(this) + ' Doe'; 22 | }; 23 | return Bar; 24 | })(Foo); 25 | var bar = new Bar('John2'); 26 | console.log(bar.getName()); // John Doe 27 | 28 | //# sourceMappingURL=classes.js.map 29 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-2574/src/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName() : string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName() : string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | var bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-inline-sources/_program.ts: -------------------------------------------------------------------------------- 1 | console.log('Program loaded'); 2 | 3 | function f() { 4 | console.log('interval'); 5 | debugger; 6 | } 7 | 8 | setInterval(f, 200); 9 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-inline-sources/program.js: -------------------------------------------------------------------------------- 1 | console.log('Program loaded'); 2 | function f() { 3 | console.log('interval'); 4 | debugger; 5 | } 6 | setInterval(f, 200); 7 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3JhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2dyYW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxDQUFDLEdBQUcsQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO0FBRTlCO0lBQ0ksT0FBTyxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUN4QixRQUFRLENBQUM7QUFDYixDQUFDO0FBRUQsV0FBVyxDQUFDLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImNvbnNvbGUubG9nKCdQcm9ncmFtIGxvYWRlZCcpO1xuXG5mdW5jdGlvbiBmKCkge1xuICAgIGNvbnNvbGUubG9nKCdpbnRlcnZhbCcpO1xuICAgIGRlYnVnZ2VyO1xufVxuXG5zZXRJbnRlcnZhbChmLCAyMDApO1xuIl19 -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-inline-sources/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "inlineSourceMap": true, 4 | "inlineSources": true 5 | } 6 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-inline/dist/classes.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || function (d, b) { 2 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 3 | function __() { this.constructor = d; } 4 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 5 | }; 6 | var Foo = (function () { 7 | function Foo(name) { 8 | this._name = name; 9 | } 10 | Foo.prototype.getName = function () { 11 | return this._name; 12 | }; 13 | return Foo; 14 | }()); 15 | var Bar = (function (_super) { 16 | __extends(Bar, _super); 17 | function Bar() { 18 | _super.apply(this, arguments); 19 | } 20 | Bar.prototype.getName = function () { 21 | return _super.prototype.getName.call(this) + ' Doe'; 22 | }; 23 | return Bar; 24 | }(Foo)); 25 | var bar = new Bar('John2'); 26 | console.log(bar.getName()); // John Doe 27 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3Nlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGFzc2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7SUFJRSxhQUFZLElBQVk7UUFDdEIsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLENBQUM7SUFDcEIsQ0FBQztJQUVELHFCQUFPLEdBQVA7UUFDRSxNQUFNLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBQ0gsVUFBQztBQUFELENBQUMsQUFYRCxJQVdDO0FBRUQ7SUFBa0IsdUJBQUc7SUFBckI7UUFBa0IsOEJBQUc7SUFLckIsQ0FBQztJQUhDLHFCQUFPLEdBQVA7UUFDRSxNQUFNLENBQUMsZ0JBQUssQ0FBQyxPQUFPLFdBQUUsR0FBRyxNQUFNLENBQUM7SUFDbEMsQ0FBQztJQUNILFVBQUM7QUFBRCxDQUFDLEFBTEQsQ0FBa0IsR0FBRyxHQUtwQjtBQUVELElBQUksR0FBRyxHQUFHLElBQUksR0FBRyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBRTNCLE9BQU8sQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUMsQ0FBQyxXQUFXIn0= -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-inline/src/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName() : string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName() : string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | var bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-inline/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "inlineSourceMap": true, 4 | "outDir": "dist/" 5 | }, 6 | "include": [ 7 | "src/**/*.ts" 8 | ] 9 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-js-entrypoint/out/classes.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || function (d, b) { 2 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 3 | function __() { this.constructor = d; } 4 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 5 | }; 6 | var Foo = (function () { 7 | function Foo(name) { 8 | this._name = name; 9 | } 10 | Foo.prototype.getName = function () { 11 | return this._name; 12 | }; 13 | return Foo; 14 | })(); 15 | var Bar = (function (_super) { 16 | __extends(Bar, _super); 17 | function Bar() { 18 | _super.apply(this, arguments); 19 | } 20 | Bar.prototype.getName = function () { 21 | return _super.prototype.getName.call(this) + ' Doe'; 22 | }; 23 | return Bar; 24 | })(Foo); 25 | var bar = new Bar('John2'); 26 | console.log(bar.getName()); // John Doe 27 | 28 | //# sourceMappingURL=classes.js.map 29 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-js-entrypoint/out/entry.js: -------------------------------------------------------------------------------- 1 | var entry = require('./classes.js'); 2 | 3 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-js-entrypoint/src/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName() : string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName() : string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | var bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-local-paths/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | // "debugServer": 4712, 9 | "type": "node", 10 | "request": "launch", 11 | "name": "Launch Program", 12 | "outFiles": [ 13 | "${workspaceFolder}/out/*.js" 14 | ], 15 | "program": "${workspaceFolder}/out/classes.js" 16 | } 17 | ] 18 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-local-paths/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sourcemaps-local-paths", 3 | "version": "1.0.0", 4 | "description": "", 5 | "author": "roblourens", 6 | "license": "MIT", 7 | "scripts": { 8 | "postinstall": "tsc" 9 | }, 10 | "dependencies": { 11 | "typescript": "2.9.2" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-local-paths/src/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName(): string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName(): string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | const bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-local-paths/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "sourceRoot": "src", 4 | "mapRoot": "out", 5 | "outDir": "out", 6 | "sourceMap": true 7 | } 8 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-setinterval/dist/file2.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var Foo = (function () { 3 | function Foo(name) { 4 | this._name = name; 5 | } 6 | Foo.prototype.getName = function () { 7 | return this._name; 8 | }; 9 | return Foo; 10 | }()); 11 | exports.Foo = Foo; 12 | //# sourceMappingURL=file2.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-setinterval/dist/program.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | console.log('Program loaded'); 3 | var file2_1 = require('./file2'); 4 | var foo = new file2_1.Foo('foo'); 5 | setInterval(function () { return foo.getName(); }, 100); 6 | //# sourceMappingURL=program.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-setinterval/src/file2.ts: -------------------------------------------------------------------------------- 1 | export class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName(): string { 10 | return this._name; 11 | } 12 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-setinterval/src/program.ts: -------------------------------------------------------------------------------- 1 | console.log('Program loaded'); 2 | 3 | import {Foo} from './file2'; 4 | const foo = new Foo('foo'); 5 | 6 | setInterval(() => foo.getName(), 100); 7 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-setinterval/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "sourceMap": true, 4 | "outDir": "dist" 5 | } 6 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-simple-no-sourceMappingURL/classes.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || function (d, b) { 2 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 3 | function __() { this.constructor = d; } 4 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 5 | }; 6 | var Foo = (function () { 7 | function Foo(name) { 8 | this._name = name; 9 | } 10 | Foo.prototype.getName = function () { 11 | return this._name; 12 | }; 13 | return Foo; 14 | })(); 15 | var Bar = (function (_super) { 16 | __extends(Bar, _super); 17 | function Bar() { 18 | _super.apply(this, arguments); 19 | } 20 | Bar.prototype.getName = function () { 21 | return _super.prototype.getName.call(this) + ' Doe'; 22 | }; 23 | return Bar; 24 | })(Foo); 25 | var bar = new Bar('John2'); 26 | console.log(bar.getName()); // John Doe 27 | 28 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-simple-no-sourceMappingURL/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName() : string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName() : string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | var bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-simple/classes.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || function (d, b) { 2 | for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 3 | function __() { this.constructor = d; } 4 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 5 | }; 6 | var Foo = (function () { 7 | function Foo(name) { 8 | this._name = name; 9 | } 10 | Foo.prototype.getName = function () { 11 | return this._name; 12 | }; 13 | return Foo; 14 | })(); 15 | var Bar = (function (_super) { 16 | __extends(Bar, _super); 17 | function Bar() { 18 | _super.apply(this, arguments); 19 | } 20 | Bar.prototype.getName = function () { 21 | return _super.prototype.getName.call(this) + ' Doe'; 22 | }; 23 | return Bar; 24 | })(Foo); 25 | var bar = new Bar('John2'); 26 | console.log(bar.getName()); // John Doe 27 | 28 | //# sourceMappingURL=classes.js.map 29 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-simple/classes.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | 3 | private _name: string; 4 | 5 | constructor(name: string) { 6 | this._name = name; 7 | } 8 | 9 | getName() : string { 10 | return this._name; 11 | } 12 | } 13 | 14 | class Bar extends Foo { 15 | 16 | getName() : string { 17 | return super.getName() + ' Doe'; 18 | } 19 | } 20 | 21 | var bar = new Bar('John2'); 22 | 23 | console.log(bar.getName()); // John Doe 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-with-and-without/out/mapped.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var unmapped_1 = require('./unmapped'); 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | unmapped_1.callbackCaller(f); 7 | //# sourceMappingURL=mapped.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-with-and-without/out/unmapped.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | function callbackCaller(cb) { 3 | cb(); 4 | } 5 | exports.callbackCaller = callbackCaller; 6 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-with-and-without/src/mapped.ts: -------------------------------------------------------------------------------- 1 | import {callbackCaller} from './unmapped'; 2 | 3 | function f() { 4 | console.log('mapped'); 5 | } 6 | 7 | callbackCaller(f); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/sourcemaps-with-and-without/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "out", 4 | "sourceMap": true 5 | } 6 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/symlinked-file/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Program", 11 | "program": "${workspaceFolder}/main.js" 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/symlinked-file/main.js: -------------------------------------------------------------------------------- 1 | require('./symlinkToSrc/file.js'); 2 | 3 | console.log('hello, world'); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/symlinked-file/src/file.js: -------------------------------------------------------------------------------- 1 | console.log('file.js'); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/symlinked-file/symlinkToSrc: -------------------------------------------------------------------------------- 1 | ./src -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/webpack/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to find out which attributes exist for node debugging 3 | // Use hover for the description of the existing attributes 4 | // For further information visit https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "Launch Program", 9 | "type": "node2", 10 | "request": "launch", 11 | "program": "${workspaceFolder}/out/bundle.js", 12 | "cwd": "${workspaceFolder}", 13 | "outFiles": [], 14 | "sourceMaps": true 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/webpack/app.ts: -------------------------------------------------------------------------------- 1 | console.log('foo'); 2 | console.log('bar'); -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/webpack/out/bundle.js: -------------------------------------------------------------------------------- 1 | /******/ (function(modules) { // webpackBootstrap 2 | /******/ // The module cache 3 | /******/ var installedModules = {}; 4 | /******/ 5 | /******/ // The require function 6 | /******/ function __webpack_require__(moduleId) { 7 | /******/ 8 | /******/ // Check if module is in cache 9 | /******/ if(installedModules[moduleId]) 10 | /******/ return installedModules[moduleId].exports; 11 | /******/ 12 | /******/ // Create a new module (and put it into the cache) 13 | /******/ var module = installedModules[moduleId] = { 14 | /******/ i: moduleId, 15 | /******/ l: false, 16 | /******/ exports: {} 17 | /******/ }; 18 | /******/ 19 | /******/ // Execute the module function 20 | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21 | /******/ 22 | /******/ // Flag the module as loaded 23 | /******/ module.l = true; 24 | /******/ 25 | /******/ // Return the exports of the module 26 | /******/ return module.exports; 27 | /******/ } 28 | /******/ 29 | /******/ 30 | /******/ // expose the modules object (__webpack_modules__) 31 | /******/ __webpack_require__.m = modules; 32 | /******/ 33 | /******/ // expose the module cache 34 | /******/ __webpack_require__.c = installedModules; 35 | /******/ 36 | /******/ // identity function for calling harmony imports with the correct context 37 | /******/ __webpack_require__.i = function(value) { return value; }; 38 | /******/ 39 | /******/ // define getter function for harmony exports 40 | /******/ __webpack_require__.d = function(exports, name, getter) { 41 | /******/ if(!__webpack_require__.o(exports, name)) { 42 | /******/ Object.defineProperty(exports, name, { 43 | /******/ configurable: false, 44 | /******/ enumerable: true, 45 | /******/ get: getter 46 | /******/ }); 47 | /******/ } 48 | /******/ }; 49 | /******/ 50 | /******/ // getDefaultExport function for compatibility with non-harmony modules 51 | /******/ __webpack_require__.n = function(module) { 52 | /******/ var getter = module && module.__esModule ? 53 | /******/ function getDefault() { return module['default']; } : 54 | /******/ function getModuleExports() { return module; }; 55 | /******/ __webpack_require__.d(getter, 'a', getter); 56 | /******/ return getter; 57 | /******/ }; 58 | /******/ 59 | /******/ // Object.prototype.hasOwnProperty.call 60 | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 61 | /******/ 62 | /******/ // __webpack_public_path__ 63 | /******/ __webpack_require__.p = ""; 64 | /******/ 65 | /******/ // Load entry module and return exports 66 | /******/ return __webpack_require__(__webpack_require__.s = 0); 67 | /******/ }) 68 | /************************************************************************/ 69 | /******/ ([ 70 | /* 0 */ 71 | /***/ function(module, exports) { 72 | 73 | console.log('foo'); 74 | console.log('bar'); 75 | 76 | 77 | /***/ } 78 | /******/ ]); 79 | //# sourceMappingURL=bundle.js.map -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/webpack/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testdata-webpack", 3 | "version": "1.0.0", 4 | "description": "Test project for vscode-node-debug2 using webpack", 5 | "author": "", 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "webpack" 9 | }, 10 | "dependencies": {}, 11 | "devDependencies": { 12 | "@types/node": "^6.0.41", 13 | "ts-loader": "^1.3.3", 14 | "typescript": "^2.1.4", 15 | "webpack": "^2.2.0-rc.2" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/testdata/webpack/webpack.config.js: -------------------------------------------------------------------------------- 1 | const webpack = require('webpack'); 2 | const path = require('path'); 3 | const fs = require('fs'); 4 | const glob = require('glob'); 5 | 6 | const nodeModules = {}; 7 | fs.readdirSync('node_modules') 8 | .filter(f => !f.startsWith('bin')) 9 | .forEach(mod => { 10 | nodeModules[mod] = 'commonjs ' + mod; 11 | }); 12 | 13 | module.exports = { 14 | entry: { 15 | src: './app.ts' 16 | }, 17 | devtool: 'source-map', 18 | resolve: { 19 | extensions: ['.ts'] 20 | }, 21 | output: { 22 | filename: 'out/bundle.js' 23 | }, 24 | module: { 25 | rules: [ 26 | { test: /\.ts$/, exclude: /node_modules/, loader: 'ts-loader' }, 27 | ] 28 | }, 29 | externals: nodeModules, 30 | target: 'node' 31 | }; 32 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "ES6", 5 | "sourceMap": true, 6 | 7 | "noImplicitAny": false, 8 | "removeComments": false, 9 | "noUnusedLocals": true, 10 | "noImplicitThis": true, 11 | "noFallthroughCasesInSwitch": true, 12 | "noImplicitReturns": true, 13 | 14 | "lib": [ 15 | "es2015" 16 | ] 17 | }, 18 | "exclude": [ 19 | "node_modules/", 20 | "testapp/", 21 | "testdata/" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /downloads/vscode-node-debug2/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaultSeverity": "warning", 3 | "rules": { 4 | "align": [ 5 | true, 6 | "parameters", 7 | "statements" 8 | ], 9 | "ban": false, 10 | "class-name": true, 11 | "comment-format": [ 12 | true, 13 | "check-space" 14 | ], 15 | "curly": false, 16 | "forin": false, 17 | "indent": [ 18 | true, 19 | "spaces" 20 | ], 21 | "jsdoc-format": true, 22 | "label-position": true, 23 | "max-line-length": [ 24 | false, 25 | 140 26 | ], 27 | "member-access": false, 28 | "member-ordering": [ 29 | true, 30 | "variables-before-functions" 31 | ], 32 | "no-any": false, 33 | "no-arg": true, 34 | "no-bitwise": true, 35 | "no-conditional-assignment": true, 36 | "no-console": [ 37 | true, 38 | "debug", 39 | "info", 40 | "time", 41 | "timeEnd", 42 | "trace" 43 | ], 44 | "no-construct": true, 45 | "no-debugger": true, 46 | "no-duplicate-variable": true, 47 | "no-empty": false, 48 | "no-eval": true, 49 | "no-inferrable-types": false, 50 | "no-internal-module": true, 51 | "no-require-imports": false, 52 | "no-string-literal": false, 53 | "no-switch-case-fall-through": true, 54 | "no-trailing-whitespace": true, 55 | "no-unused-expression": true, 56 | "no-var-keyword": true, 57 | "no-var-requires": true, 58 | "one-line": [ 59 | true, 60 | "check-open-brace", 61 | "check-catch", 62 | "check-else", 63 | "check-whitespace" 64 | ], 65 | "quotemark": [ 66 | true, 67 | "single", 68 | "avoid-escape" 69 | ], 70 | "radix": true, 71 | "semicolon": [true, "always"], 72 | "switch-default": true, 73 | "triple-equals": [ 74 | true, 75 | "allow-null-check" 76 | ], 77 | "typedef-whitespace": [ 78 | true, 79 | { 80 | "call-signature": "nospace", 81 | "index-signature": "nospace", 82 | "parameter": "nospace", 83 | "property-declaration": "nospace", 84 | "variable-declaration": "nospace" 85 | } 86 | ], 87 | "variable-name": false, 88 | "whitespace": [ 89 | true, 90 | "check-branch", 91 | "check-decl", 92 | "check-operator", 93 | "check-separator", 94 | "check-module", 95 | "check-type" 96 | ] 97 | } 98 | } 99 | 100 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | let a = 'welcome'; 2 | console.log(a); 3 | debugger; 4 | console.log(b); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "name": "monaco-node-debug-sample", 4 | "version": "0.0.1", 5 | "dependencies": { 6 | "@rauschma/stringio": "^1.4.0", 7 | "express": "^4.15.2", 8 | "inversify": "^5.0.1", 9 | "monaco-editor-core": "^0.14.6", 10 | "monaco-languageclient": "^0.9.0", 11 | "node-debug2": "^0.2.0", 12 | "normalize-url": "^2.0.1", 13 | "reconnecting-websocket": "^3.2.2", 14 | "request-light": "^0.2.2", 15 | "vscode-debugadapter": "^1.34.0", 16 | "vscode-debugprotocol": "^1.34.0", 17 | "vscode-json-languageservice": "^3.1.4", 18 | "vscode-languageserver": "^4.4.2", 19 | "vscode-ws-jsonrpc": "^0.0.2-1", 20 | "ws": "^5.0.0" 21 | }, 22 | "devDependencies": { 23 | "@types/express": "^4.0.35", 24 | "@types/node": "^7.0.12", 25 | "@types/normalize-url": "^1.9.1", 26 | "@types/ws": "0.0.39", 27 | "css-loader": "^0.28.11", 28 | "rimraf": "^2.6.2", 29 | "source-map-loader": "^0.2.3", 30 | "style-loader": "^0.20.3", 31 | "typescript": "^3.0.1", 32 | "uglifyjs-webpack-plugin": "^1.2.4", 33 | "webpack": "^3.11.0", 34 | "webpack-merge": "^4.1.2" 35 | }, 36 | "scripts": { 37 | "prepare": "yarn clean && yarn build", 38 | "compile": "tsc", 39 | "watch": "tsc -w & webpack -w", 40 | "clean": "rimraf lib", 41 | "copy": "cp src/index.html lib/index.html", 42 | "build": "yarn compile && webpack && yarn copy", 43 | "start": "yarn prepare && node lib/server.js", 44 | "start:ext": "node lib/server.js --external" 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/ext-json-server.ts: -------------------------------------------------------------------------------- 1 | import { StreamMessageReader, StreamMessageWriter } from 'vscode-jsonrpc'; 2 | import { start } from "./json-server"; 3 | 4 | const reader = new StreamMessageReader(process.stdin); 5 | const writer = new StreamMessageWriter(process.stdout); 6 | start(reader, writer); 7 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

Monaco Debug Adapter Server Node.js Sample

11 |
12 | 13 |

Console

14 |
15 |
16 | 17 | 18 |
19 |
20 | 21 |
22 |
23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 | 33 |
34 |
THREADS
35 |
36 |
37 | 38 |
39 |
CALL STACK
40 |
41 |
42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/json-server-launcher.ts: -------------------------------------------------------------------------------- 1 | import * as path from 'path'; 2 | import * as rpc from "vscode-ws-jsonrpc"; 3 | import * as server from "vscode-ws-jsonrpc/lib/server"; 4 | import * as lsp from "vscode-languageserver"; 5 | import { start } from "./json-server"; 6 | 7 | export function launch(socket: rpc.IWebSocket) { 8 | const reader = new rpc.WebSocketMessageReader(socket); 9 | const writer = new rpc.WebSocketMessageWriter(socket); 10 | const asExternalProccess = process.argv.findIndex(value => value === '--external') !== -1; 11 | if (asExternalProccess)  { 12 | // start the language server as an external process 13 | const extJsonServerPath = path.resolve(__dirname, 'ext-json-server.js'); 14 | const socketConnection = server.createConnection(reader, writer, () => socket.dispose()); 15 | const serverConnection = server.createServerProcess('JSON', 'node', [extJsonServerPath]); 16 | server.forward(socketConnection, serverConnection, message => { 17 | console.log(message) 18 | if (rpc.isRequestMessage(message)) { 19 | if (message.method === lsp.InitializeRequest.type.method) { 20 | const initializeParams = message.params as lsp.InitializeParams; 21 | initializeParams.processId = process.pid; 22 | } 23 | } 24 | return message; 25 | }); 26 | } else { 27 | // start the language server inside the current process 28 | start(reader, writer); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | require('monaco-editor-core'); 2 | (self as any).MonacoEnvironment = { 3 | getWorkerUrl: () => './editor.worker.bundle.js' 4 | } 5 | require('./client'); 6 | -------------------------------------------------------------------------------- /src/monaco-editor-core.d.ts: -------------------------------------------------------------------------------- 1 | /// -------------------------------------------------------------------------------- /src/node/abstractDebugAdapter.ts: -------------------------------------------------------------------------------- 1 | export abstract class AbstractDebugAdapter { 2 | 3 | private sequence: number; 4 | private pendingRequests: Map void>; 5 | private requestCallback: (request: DebugProtocol.Request) => void; 6 | private eventCallback: (request: DebugProtocol.Event) => void; 7 | private messageCallback: (message: DebugProtocol.ProtocolMessage) => void; 8 | 9 | constructor() { 10 | this.sequence = 1; 11 | this.pendingRequests = new Map(); 12 | } 13 | 14 | abstract startSession(): Promise; 15 | 16 | abstract stopSession(): Promise; 17 | 18 | abstract sendMessage(message: DebugProtocol.ProtocolMessage): void; 19 | 20 | 21 | 22 | onMessage(callback: (message: DebugProtocol.ProtocolMessage) => void): void { 23 | if (this.eventCallback) { 24 | console.error(new Error(`attempt to set more than one 'Message' callback`)); 25 | } 26 | this.messageCallback = callback; 27 | } 28 | 29 | onEvent(callback: (event: DebugProtocol.Event) => void): void { 30 | if (this.eventCallback) { 31 | console.error(new Error(`attempt to set more than one 'Event' callback`)); 32 | } 33 | this.eventCallback = callback; 34 | } 35 | 36 | onRequest(callback: (request: DebugProtocol.Request) => void): void { 37 | if (this.requestCallback) { 38 | console.error(new Error(`attempt to set more than one 'Request' callback`)); 39 | } 40 | this.requestCallback = callback; 41 | } 42 | 43 | sendResponse(response: DebugProtocol.Response): void { 44 | if (response.seq > 0) { 45 | console.error(new Error(`attempt to send more than one response for command ${response.command}`)); 46 | } 47 | else { 48 | this.internalSend('response', response); 49 | } 50 | } 51 | 52 | sendRequest(command: string, args: any, clb: (result: DebugProtocol.Response) => void, timeout?: number): void { 53 | const request: any = { 54 | command: command 55 | }; 56 | if (args && Object.keys(args).length > 0) { 57 | request.arguments = args; 58 | } 59 | this.internalSend('request', request); 60 | if (typeof timeout === 'number') { 61 | const timer = setTimeout(() => { 62 | clearTimeout(timer); 63 | const clb = this.pendingRequests.get(request.seq); 64 | if (clb) { 65 | this.pendingRequests.delete(request.seq); 66 | const err: DebugProtocol.Response = { 67 | type: 'response', 68 | seq: 0, 69 | request_seq: request.seq, 70 | success: false, 71 | command, 72 | message: `timeout after ${timeout} ms` 73 | }; 74 | clb(err); 75 | } 76 | }, timeout); 77 | } 78 | if (clb) { 79 | // store callback for this request 80 | this.pendingRequests.set(request.seq, clb); 81 | } 82 | } 83 | 84 | acceptMessage(message: DebugProtocol.ProtocolMessage): void { 85 | if (this.messageCallback) { 86 | this.messageCallback(message); 87 | } 88 | else { 89 | switch (message.type) { 90 | case 'event': 91 | if (this.eventCallback) { 92 | this.eventCallback(message); 93 | } 94 | break; 95 | case 'request': 96 | if (this.requestCallback) { 97 | this.requestCallback(message); 98 | } 99 | break; 100 | case 'response': 101 | const response = message; 102 | const clb = this.pendingRequests.get(response.request_seq); 103 | if (clb) { 104 | this.pendingRequests.delete(response.request_seq); 105 | clb(response); 106 | } 107 | break; 108 | } 109 | } 110 | } 111 | 112 | private internalSend(typ: 'request' | 'response' | 'event', message: DebugProtocol.ProtocolMessage): void { 113 | message.type = typ; 114 | message.seq = this.sequence++; 115 | this.sendMessage(message); 116 | } 117 | 118 | protected cancelPending() { 119 | const pending = this.pendingRequests; 120 | this.pendingRequests = new Map(); 121 | setTimeout(_ => { 122 | pending.forEach((callback, request_seq) => { 123 | const err: DebugProtocol.Response = { 124 | type: 'response', 125 | seq: 0, 126 | request_seq, 127 | success: false, 128 | command: 'canceled', 129 | message: 'canceled' 130 | }; 131 | callback(err); 132 | }); 133 | }, 1000); 134 | } 135 | 136 | dispose(): void { 137 | this.cancelPending(); 138 | } 139 | } 140 | -------------------------------------------------------------------------------- /src/node/debugAdapter.ts: -------------------------------------------------------------------------------- 1 | import * as cp from 'child_process'; 2 | import * as path from 'path' 3 | import * as stream from 'stream'; 4 | import { AbstractDebugAdapter } from './abstractDebugAdapter' 5 | 6 | export class DebugAdapter extends AbstractDebugAdapter{ 7 | private static readonly TWO_CRLF = '\r\n\r\n'; 8 | private static readonly HEADER_LINESEPARATOR = /\r?\n/; // allow for non-RFC 2822 conforming line separators 9 | private static readonly HEADER_FIELDSEPARATOR = /: */; 10 | 11 | serverProcess: cp.ChildProcess 12 | outputStream: any 13 | rawData: any 14 | contentLength: any 15 | wssocket: any 16 | 17 | protected connect(readable: stream.Readable, writable: stream.Writable): void { 18 | 19 | this.outputStream = writable; 20 | this.rawData = Buffer.allocUnsafe(0); 21 | this.contentLength = -1; 22 | 23 | readable.on('data', (data: Buffer) => this.handleData(data)); 24 | } 25 | 26 | constructor(socket: any) { 27 | super(); 28 | this.wssocket = socket 29 | } 30 | 31 | sendMessage(message: DebugProtocol.ProtocolMessage): void { 32 | 33 | if (this.outputStream) { 34 | const json = JSON.stringify(message); 35 | this.outputStream.write(`Content-Length: ${Buffer.byteLength(json, 'utf8')}${DebugAdapter.TWO_CRLF}${json}`, 'utf8'); 36 | } 37 | } 38 | 39 | stopSession(): Promise { 40 | 41 | // Cancel all sent promises on disconnect so debug trees are not left in a broken state #3666. 42 | this.cancelPending(); 43 | if (this.wssocket) { 44 | this.wssocket.close() 45 | } 46 | 47 | return Promise.resolve(undefined); 48 | } 49 | 50 | private handleData(data: Buffer): void { 51 | 52 | this.rawData = Buffer.concat([this.rawData, data]); 53 | 54 | while (true) { 55 | if (this.contentLength >= 0) { 56 | if (this.rawData.length >= this.contentLength) { 57 | const message = this.rawData.toString('utf8', 0, this.contentLength); 58 | this.rawData = this.rawData.slice(this.contentLength); 59 | this.contentLength = -1; 60 | if (message.length > 0) { 61 | try { 62 | let temp = JSON.parse(message) 63 | if (temp.command === 'initialize') { 64 | temp.body.cwd = path.join(__dirname, '../../') 65 | } 66 | this.wssocket!.send(JSON.stringify(temp)); 67 | } catch (e) { 68 | console.error(new Error((e.message || e) + '\n' + message)); 69 | } 70 | } 71 | continue; // there may be more complete messages to process 72 | } 73 | } else { 74 | const idx = this.rawData.indexOf(DebugAdapter.TWO_CRLF); 75 | if (idx !== -1) { 76 | const header = this.rawData.toString('utf8', 0, idx); 77 | const lines = header.split(DebugAdapter.HEADER_LINESEPARATOR); 78 | for (const h of lines) { 79 | const kvPair = h.split(DebugAdapter.HEADER_FIELDSEPARATOR); 80 | if (kvPair[0] === 'Content-Length') { 81 | this.contentLength = Number(kvPair[1]); 82 | } 83 | } 84 | this.rawData = this.rawData.slice(idx + DebugAdapter.TWO_CRLF.length); 85 | continue; 86 | } 87 | } 88 | break; 89 | } 90 | } 91 | 92 | async startSession(): Promise { 93 | const nodeDebug2 = path.join(__dirname, `../../downloads/vscode-node-debug2/out/src/nodeDebug.js`); 94 | const forkOptions: cp.ForkOptions = { 95 | env: process.env, 96 | execArgv: [], 97 | silent: true 98 | }; 99 | const child = cp.fork(nodeDebug2, [], forkOptions); 100 | if (!child.pid) { 101 | throw new Error(`Unable to launch debug adapter from ${nodeDebug2}`); 102 | } 103 | this.serverProcess = child; 104 | 105 | this.serverProcess.on('error', err => { 106 | console.error(err); 107 | }); 108 | this.serverProcess.on('exit', (code, signal) => { 109 | console.log(code); 110 | }); 111 | 112 | this.serverProcess.stdout.on('close', (error:any) => { 113 | console.error(error); 114 | }); 115 | this.serverProcess.stdout.on('error', error => { 116 | console.error(error); 117 | }); 118 | 119 | this.serverProcess.stdin.on('error', error => { 120 | console.error(error); 121 | }); 122 | 123 | this.connect(this.serverProcess.stdout, this.serverProcess.stdin); 124 | 125 | } 126 | } -------------------------------------------------------------------------------- /src/node/debugSession.ts: -------------------------------------------------------------------------------- 1 | import { DebugAdapter } from './debugAdapter' 2 | 3 | let uuid = 1 4 | 5 | export class DebugSession { 6 | id: number 7 | debugAdapter: any 8 | constructor (public socket: any) { 9 | this.id = uuid++ 10 | this.start() 11 | } 12 | 13 | start (){ 14 | if (!this.debugAdapter) { 15 | this.debugAdapter = new DebugAdapter(this.socket) 16 | } 17 | this.socket.onMessage(async (event: any) => { 18 | try { 19 | event = JSON.parse(event) 20 | } catch(e) { 21 | console.error(e) 22 | } 23 | if (event.type === 'event' || event.type === 'request' || event.type === 'response') { 24 | await this.handleMessage(event) 25 | } 26 | }) 27 | } 28 | 29 | async handleMessage(event: DebugProtocol.ProtocolMessage) { 30 | if (event.type === 'request') { 31 | await this.handleRequest(event as DebugProtocol.Request); 32 | } else if (event.type === 'response') { 33 | this.handleResponse(event as DebugProtocol.Response); 34 | } else if (event.type === 'event') { 35 | await this.handleEvent(event as DebugProtocol.Event); 36 | } 37 | } 38 | 39 | async handleRequest(event: DebugProtocol.Request) { 40 | if (event.command === 'initialize') { 41 | await this.debugAdapter.startSession() 42 | } 43 | this.debugAdapter.sendMessage(event) 44 | console.log('DebugProtocol.Request', event) 45 | } 46 | 47 | handleResponse(event: DebugProtocol.Response) { 48 | console.log('DebugProtocol.Response', event) 49 | } 50 | 51 | handleEvent(event: DebugProtocol.Event) { 52 | this.debugAdapter.sendMessage(event) 53 | console.log('DebugProtocol.Response', event) 54 | } 55 | 56 | } -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- 1 | import * as ws from "ws"; 2 | import * as http from "http"; 3 | import * as url from "url"; 4 | import * as net from "net"; 5 | import * as express from "express"; 6 | import * as rpc from "vscode-ws-jsonrpc"; 7 | import { launch } from "./json-server-launcher"; 8 | import { DebugSession } from './node/debugSession' 9 | 10 | process.on('uncaughtException', function (err: any) { 11 | console.error('Uncaught Exception: ', err.toString()); 12 | if (err.stack) { 13 | console.error(err.stack); 14 | } 15 | }); 16 | 17 | // create the express application 18 | const app = express(); 19 | const port = 3001; 20 | // server the static content, i.e. index.html 21 | app.use(express.static(__dirname)); 22 | // start the server 23 | const server = app.listen(port); 24 | // create the web socket 25 | const lspWs = new ws.Server({ 26 | noServer: true, 27 | perMessageDeflate: false 28 | }); 29 | const dapWs = new ws.Server({ 30 | noServer: true, 31 | perMessageDeflate: false 32 | }); 33 | 34 | 35 | server.on('upgrade', (request: http.IncomingMessage, socket: net.Socket, head: Buffer) => { 36 | const pathname = request.url ? url.parse(request.url).pathname : undefined; 37 | if (pathname === '/lsp') { 38 | lspWs.handleUpgrade(request, socket, head, webSocket => { 39 | const socket: rpc.IWebSocket = { 40 | send: content => webSocket.send(content, error => { 41 | if (error) { 42 | throw error; 43 | } 44 | }), 45 | onMessage: cb => webSocket.on('message', cb), 46 | onError: cb => webSocket.on('error', cb), 47 | onClose: cb => webSocket.on('close', cb), 48 | dispose: () => webSocket.close() 49 | }; 50 | // launch the server when the web socket is opened 51 | if (webSocket.readyState === webSocket.OPEN) { 52 | launch(socket); 53 | } else { 54 | webSocket.on('open', () => { 55 | launch(socket); 56 | }); 57 | } 58 | }); 59 | } else if (pathname === '/dap') { 60 | dapWs.handleUpgrade(request, socket, head, webSocket => { 61 | const socket: rpc.IWebSocket = { 62 | send: content => webSocket.send(content, error => { 63 | if (error) { 64 | throw error; 65 | } 66 | }), 67 | onMessage: cb => webSocket.on('message', cb), 68 | onError: cb => webSocket.on('error', cb), 69 | onClose: cb => webSocket.on('close', cb), 70 | dispose: () => webSocket.close() 71 | }; 72 | // launch the debugSession when the web socket is opened 73 | if (webSocket.readyState === webSocket.OPEN) { 74 | new DebugSession(socket); 75 | } else { 76 | webSocket.on('open', () => { 77 | new DebugSession(socket); 78 | }); 79 | } 80 | }); 81 | } 82 | }) 83 | 84 | console.log(`visit http://localhost:${port}/`) -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "module": "commonjs", 5 | "moduleResolution": "node", 6 | "sourceMap": true, 7 | "declarationMap": true, 8 | "inlineSources": false, 9 | "declaration": true, 10 | "stripInternal": true, 11 | "lib": [ 12 | "es2016", 13 | "dom" 14 | ], 15 | "strict": true, 16 | "noImplicitReturns": true, 17 | "noUnusedLocals": true, 18 | "rootDir": "src", 19 | "outDir": "lib", 20 | "baseUrl": ".", 21 | "skipLibCheck": true, 22 | "strictPropertyInitialization": false 23 | }, 24 | "include": [ 25 | "src" 26 | ] 27 | } -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | /* -------------------------------------------------------------------------------------------- 2 | * Copyright (c) 2018 TypeFox GmbH (http://www.typefox.io). All rights reserved. 3 | * Licensed under the MIT License. See License.txt in the project root for license information. 4 | * ------------------------------------------------------------------------------------------ */ 5 | const path = require('path'); 6 | const lib = path.resolve(__dirname, "lib"); 7 | 8 | const webpack = require('webpack'); 9 | const merge = require('webpack-merge'); 10 | const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); 11 | 12 | const common = { 13 | entry: { 14 | "main": path.resolve(lib, "main.js"), 15 | "editor.worker": 'monaco-editor-core/esm/vs/editor/editor.worker.js' 16 | }, 17 | output: { 18 | filename: '[name].bundle.js', 19 | path: lib 20 | }, 21 | module: { 22 | rules: [{ 23 | test: /\.css$/, 24 | use: ['style-loader', 'css-loader'] 25 | }] 26 | }, 27 | target: 'web', 28 | node: { 29 | fs: 'empty', 30 | child_process: 'empty', 31 | net: 'empty', 32 | crypto: 'empty' 33 | }, 34 | resolve: { 35 | alias: { 36 | 'vscode': require.resolve('monaco-languageclient/lib/vscode-compatibility') 37 | } 38 | } 39 | }; 40 | 41 | if (process.env['NODE_ENV'] === 'production') { 42 | module.exports = merge(common, { 43 | plugins: [ 44 | new UglifyJSPlugin(), 45 | new webpack.DefinePlugin({ 46 | 'process.env.NODE_ENV': JSON.stringify('production') 47 | }) 48 | ] 49 | }); 50 | } else { 51 | module.exports = merge(common, { 52 | devtool: 'source-map', 53 | module: { 54 | rules: [{ 55 | test: /\.js$/, 56 | enforce: 'pre', 57 | loader: 'source-map-loader' 58 | }] 59 | } 60 | }) 61 | } 62 | --------------------------------------------------------------------------------