ember-cli-bootstrap icon indicating copy to clipboard operation
ember-cli-bootstrap copied to clipboard

Debugger statements in developer runtime

Open gradymke opened this issue 10 years ago • 7 comments

I'm pretty new to this, so I'm not sure where this exists. I can't find the source in this repo or in bootstrap_for_ember. When I installed the latest version (0.0.15) with ember-cli 0.1.6, my code goes to debugger when loading up my page for the first time. Looking through the installed source, there are "debugger" method calls inside of two JS files (app/helpers/test-breadcrumbs.js and app/initializers/test-breadcrumbs.js).

How are those being grabbed or generated? I am using a breadcrumb component in my app

<ol class="breadcrumb">
  <li>...</li>
</ol>

gradymke avatar Jan 13 '15 22:01 gradymke

@gradymke Have you found solution for this problem? Am facing it too. and it's quite annoying actually.

Mawaheb avatar Jan 28 '15 12:01 Mawaheb

I haven't found a way yet outside of updating the local versions of the files, which works until the next time I do an ember install.

gradymke avatar Jan 28 '15 14:01 gradymke

Workaround:

Remove the debugger line in: node_modules/ember-cli-bootstrap/app/helpers/test-breadcrumbs.js

medokin avatar Jan 30 '15 14:01 medokin

This is super annoying! Is there no fix in the pipeline?

wayne-o avatar Feb 01 '15 15:02 wayne-o

I had to remove the debugger line in node_modules/ember-cli-bootstrap/app/initializers/test-breadcrumbs.js as well

dbachet avatar Feb 03 '15 20:02 dbachet

yep. removing debugger fixed it for me.

kacyhulme avatar Feb 12 '15 17:02 kacyhulme

it sucks !

dcharbonnier avatar Mar 03 '15 17:03 dcharbonnier