# Dev env and debugging

**URL:** <https://forum.freecodecamp.org/t/dev-env-and-debugging/59445>\
**Category:** General\
**Created:** [November 26, 2016, 9:21pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445 "2016-11-26T21:21:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xBABA](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/0xbaba/32/20353_2.png) [@0xBABA](https://forum.freecodecamp.org/u/0xBABA)\
**Post date:** [November 26, 2016, 9:21pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/1 "2016-11-26T21:21:11Z")

</div>

Hi

I started going over the Baic Algorithms Scirpts section and when working in FCC in browser editor I am trying to use console.log to debug my code, but it doesnt seem to print anything. what am i missing here? this also maked me wonder how other folks around the campfire work - are you using FCC editor or something extrernal, and what are my debug possibilities when working on html/js ( i know perl/c etc but not familiar with the web dev tools at all).

Thanks.

---

<div class="post-metadata">

**Author:** ![jenovs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jenovs/32/60963_2.png) [@jenovs](https://forum.freecodecamp.org/u/jenovs)\
**Post date:** [November 26, 2016, 9:25pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/2 "2016-11-26T21:25:03Z")

</div>

Press `Ctrl + Shift + J` to open browser console. There you’ll see all your `console.log()` statements.

---

<div class="post-metadata">

**Author:** ![0xBABA](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/0xbaba/32/20353_2.png) [@0xBABA](https://forum.freecodecamp.org/u/0xBABA)\
**Post date:** [November 27, 2016, 7:52pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/3 "2016-11-27T19:52:20Z")

</div>

Thanks. indeed i know see these prints.  
another question - how can i execute just the code in the editor (that is the in browser editor). more specifically i want to debug a certain testcase - not run all of them - is this possible?

---

<div class="post-metadata">

**Author:** ![MARKJ78](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/markj78/32/160083_2.png) [@MARKJ78](https://forum.freecodecamp.org/u/MARKJ78)\
**Post date:** [November 27, 2016, 7:54pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/4 "2016-11-27T19:54:53Z")

</div>

Hello,

Hit f12 or right click, inspect element.

Then choose console tab.

That what you meant?

Cheers

Mark

---

<div class="post-metadata">

**Author:** ![jenovs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jenovs/32/60963_2.png) [@jenovs](https://forum.freecodecamp.org/u/jenovs)\
**Post date:** [November 27, 2016, 7:55pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/5 "2016-11-27T19:55:01Z")

</div>

You could use something like [https://repl.it/languages/javascript](https://repl.it/languages/javascript) or [http://jsbin.com](http://jsbin.com)

---

<div class="post-metadata">

**Author:** ![MARKJ78](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/markj78/32/160083_2.png) [@MARKJ78](https://forum.freecodecamp.org/u/MARKJ78)\
**Post date:** [November 27, 2016, 7:55pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/6 "2016-11-27T19:55:44Z")

</div>

Hmmm somehow I didn’t see the other posts! Sorry to duplicate.

---

<div class="post-metadata">

**Author:** ![0xBABA](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/0xbaba/32/20353_2.png) [@0xBABA](https://forum.freecodecamp.org/u/0xBABA)\
**Post date:** [November 27, 2016, 8:03pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/7 "2016-11-27T20:03:55Z")

</div>

Thanks @jenovs @MARKJ78.  
so that helped me get through the task i’ve been trying to debug.  
now i know about the browser console and that there’s a website to coee and run JS (btw i dont see console reactions there), i have to wonder - is there a sublime text plugin to rule them all?

---

<div class="post-metadata">

**Author:** ![MARKJ78](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/markj78/32/160083_2.png) [@MARKJ78](https://forum.freecodecamp.org/u/MARKJ78)\
**Post date:** [November 27, 2016, 8:10pm UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/8 "2016-11-27T20:10:45Z")

</div>

No (as far as I’m aware) , but there are whole js testing suits and libraries that integrate into your code. Can’t tell you anymore than that because I haven’t learned them yet!

You can prob get a linting (syntax) plugin though.

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [January 16, 2021, 6:09am UTC](https://forum.freecodecamp.org/t/dev-env-and-debugging/59445/9 "2021-01-16T06:09:57Z")

</div>

Closed on January 16, 2021, 6:09am UTC


