brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] brackets DevTools #10029

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by THPUG Monday Aug 03, 2015 at 13:49 GMT Originally opened as https://github.com/adobe/brackets/issues/11536


Hi All,

When using brackets Development Tools, console.log and all other messages are shown the wrong file and code line numbers.

e.g.if I ran test.js with console.log('test') in line #5 - the DevTool will display it but from a different file and line number: '/LiveDevelopment/Agents/ConsoleAgent.js:55'

this make it harder for troubleshoot and monitoring code flow.

Screenshot: image

Thanks, Nevo.

core-ai-bot commented 3 years ago

Comment by MarcelGerber Tuesday Aug 04, 2015 at 10:38 GMT


That's a limitation we can't avoid. Notice that the Brackets Dev Tools don't have much to do with your actual Live Preview session - they will show you your webpage's console messages, but otherwise, everything you do in there (e.g. execute a command) happens within Brackets and not on your webpage. Notice though that it still gives you file and line of a console message.

Assuming you have File > Enable experimental Live Preview ticked, you can even use the browser's Dev Tools for a much nicer debugging experience.

core-ai-bot commented 3 years ago

Comment by THPUG Tuesday Aug 04, 2015 at 12:34 GMT


Thank you for the quick answer, The experimental Live preview is not working with PHP server files only with simple HTML, so it is not possible to benefit from it.

Thanks again!