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
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
In windows 10 I have config VSCode to debug a simple ionic app.
Steps:
Create app: ionic start cutePuppyPics --v2
In home.html add a button: <button (click)="OnClick()">Test</button>
In home.ts add a function: OnClick() { console.log('test clicked!'); }
Run ionic serve
In VSCode select debug with chrome, open debug config (launch.json).
In 'Launch Chrome against localhost, with sourcemaps' configuration change url to: http://yourip:8100
Add "userDataDir": "${workspaceRoot}\chromeDummyDir", to launch a new chrome navigator.
Add a breakpoint in 'console.log('test clicked!');' line.
Press F5 to debug
You will see that the breakpoint is misplaced, press the Test button, you will notice that the breakpoint does not work.
The text was updated successfully, but these errors were encountered:
jmesa-sistel
changed the title
Cannot debug with ionic serve and app-scripts 0.41
Cannot debug with ionic serve and app-scripts 0.0.41
Nov 8, 2016
In windows 10 I have config VSCode to debug a simple ionic app.
Steps:
Create app: ionic start cutePuppyPics --v2
In home.html add a button:
<button (click)="OnClick()">Test</button>
In home.ts add a function:
OnClick() { console.log('test clicked!'); }
Run ionic serve
In VSCode select debug with chrome, open debug config (launch.json).
In 'Launch Chrome against localhost, with sourcemaps' configuration change url to: http://yourip:8100
Add "userDataDir": "${workspaceRoot}\chromeDummyDir", to launch a new chrome navigator.
Add a breakpoint in 'console.log('test clicked!');' line.
Press F5 to debug
You will see that the breakpoint is misplaced, press the Test button, you will notice that the breakpoint does not work.
The text was updated successfully, but these errors were encountered: