You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to Reproduce: _Create setup for Cordova project._
- a. Run npm command from command prompt to install cordova. (npm install cordova –g)
- b. Create cordova project using yeoman “ yo cordova” and select Windows option.
- c. Verify cordova version by running command: cordova –v
- d. Install platform package using command : “cordova platform add windows –g” and cordova
platform add WP8 –g”
- e. Verify install and available platforms “cordova platforms ls”
- f. Build project using command : cordova build windows.
- g. Run emulator using “cordova emulate windows”
***Launch VS code
Open project root directory.
Click on the debug icon (Choose Cordova debugger) in the View bar, and then click the configure gear icon (Configure-gear) to choose the Cordova debug environment.
Update launch.json and remove all the config entries except one.
Update platform value to wp8 or windows or anycpu.
Now press F1 and enter : cordova: Build and then cordova: Run.
Verify app behavior and output.
Now Try to debug app by selecting configuration name provided in the launch.json and verify output.
Actual: Getting platform error. Error Message in output window:
waiting for v8 protocol on stdin/stdout
workbench.main.js:90 [cordova-debug-adapter] Error: Unknown Platform: wp8: Error: [cordova-debug-adapter] Error: Unknown Platform: wp8
at Object.w [as create](file:///C:/Program Files %28x86%29/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:30:24005)
at file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:100:13355
at Object.p [as _notify](file:///C:/Program Files %28x86%29/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:21660)
at Object.n.undefined.F.enter (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:24988)
at n.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:26309)
at n.undefined.t.Class.define._chainedError (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:25668)
at n (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:23496)
at Object.p [as _notify](file:///C:/Program Files %28x86%29/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:21660)
at Object.n.undefined.F.enter (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:24988)
at n.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:26309)
Expected:
User should be able to debug app.
User should get the intellisense when updating Platform value or tooltip should display proper message with all the available and supported platforms.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
_Create setup for Cordova project._
- a. Run npm command from command prompt to install cordova. (npm install cordova –g)
- b. Create cordova project using yeoman “ yo cordova” and select Windows option.
- c. Verify cordova version by running command: cordova –v
- d. Install platform package using command : “cordova platform add windows –g” and cordova
platform add WP8 –g”
- e. Verify install and available platforms “cordova platforms ls”
- f. Build project using command : cordova build windows.
- g. Run emulator using “cordova emulate windows”
***Launch VS code
Actual: Getting platform error.
Error Message in output window:
waiting for v8 protocol on stdin/stdout
workbench.main.js:90 [cordova-debug-adapter] Error: Unknown Platform: wp8: Error: [cordova-debug-adapter] Error: Unknown Platform: wp8
at Object.w [as create](file:///C:/Program Files %28x86%29/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:30:24005)
at file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:100:13355
at Object.p [as _notify](file:///C:/Program Files %28x86%29/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:21660)
at Object.n.undefined.F.enter (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:24988)
at n.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:26309)
at n.undefined.t.Class.define._chainedError (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:25668)
at n (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:23496)
at Object.p [as _notify](file:///C:/Program Files %28x86%29/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:21660)
at Object.n.undefined.F.enter (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:24988)
at n.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:26309)
Expected:
The text was updated successfully, but these errors were encountered: