diff --git a/debuggers/vscode-js-debug/js-debug/.vscodeignore b/debuggers/vscode-js-debug/js-debug/.vscodeignore new file mode 100644 index 00000000..7b6eed0f --- /dev/null +++ b/debuggers/vscode-js-debug/js-debug/.vscodeignore @@ -0,0 +1,4 @@ +# note: this is moved into `dist` during compilation, and does not actually apply here +**/*.map +src/build/** +src/testRunner.js diff --git a/debuggers/vscode-js-debug/js-debug/LICENSE b/debuggers/vscode-js-debug/js-debug/LICENSE new file mode 100644 index 00000000..4b1ad51b --- /dev/null +++ b/debuggers/vscode-js-debug/js-debug/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + 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: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + 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 diff --git a/debuggers/vscode-js-debug/js-debug/README.md b/debuggers/vscode-js-debug/js-debug/README.md new file mode 100644 index 00000000..bc4adf5b --- /dev/null +++ b/debuggers/vscode-js-debug/js-debug/README.md @@ -0,0 +1,134 @@ +
=m||h[vc]||h.destroyed)continue;f||(p=m),y>d&&(f=h,d=y)}}if(f){if(n.length!==1){for(let{reject:h}of n){let m=new Error(`Expected the length of listeners to be 1, got ${n.length}.
+Please report this to https://github.com/szmarczak/http2-wrapper/`);h(m)}return}n[0].resolve(f);return}}if(s in this.queue){if(a in this.queue[s]){this.queue[s][a].listeners.push(...n),this._tryToCreateNewSession(s,a);return}}else this.queue[s]={};let c=()=>{s in this.queue&&this.queue[s][a]===u&&(delete this.queue[s][a],Object.keys(this.queue[s]).length===0&&delete this.queue[s])},u=()=>{let l=`${a}:${s}`,p=!1;try{let d=UK.connect(e,{createConnection:this.createConnection,settings:this.settings,session:this.tlsSessionCache.get(l),...t});d[Gt]=0,d[vc]=!1;let f=()=>d[Gt]