congrats on the release of .9,
I Followed the guides for VSCode and Apache Royale compiling the following
program:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; xmlns:js=
"library://ns.apache.org/royale/express">
    <js:initialView>
        <js:View>
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
</js:Application>


Build is succesful, but launching debuging gives the following error:
Debugging with inspector protocol because Node.js v8.9.4 was detected.
******** Unhandled error in debug adapter - Unhandled promise rejection:
TypeError: patterns.forEach is not a function
at Object.multiGlob (c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\utils.js:341:18)
at EagerSourceMapTransformer.init (c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\transformers\eagerSourceMapTransformer.js:26:39)
at EagerSourceMapTransformer.launch (c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\transformers\baseSourceMapTransformer.js:34:14)
at NodeDebugAdapter.launch (c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:144:36)
at NodeDebugAdapter.<anonymous> (c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.node-debug2\out\src\nodeDebugAdapter.js:57:36)
at Generator.next (<anonymous>)
at c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.node-debug2\out\src\nodeDebugAdapter.js:10:71
at Promise (<anonymous>)
at __awaiter (c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.node-debug2\out\src\nodeDebugAdapter.js:6:12)
at NodeDebugAdapter.launch (c:\Program Files\Microsoft VS
Code\resources\app\extensions\ms-vscode.

Also at the top of VSCode it shows an error  Attribute 'program' does not
exist ('c:\Users\jason\Documents\Test/bin/js-debug/index.js').

Reply via email to