Hi Jason, What are you actually seeing in the folder bin/js-debug/ after compilation ?
Thanks, Piotr 2018-01-30 22:14 GMT+01:00 Jason Taylor <jt.theg...@gmail.com>: > 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'). > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*