Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoints not work in Linux #11

Closed
Leolik opened this issue Mar 17, 2013 · 9 comments
Closed

Breakpoints not work in Linux #11

Leolik opened this issue Mar 17, 2013 · 9 comments

Comments

@Leolik
Copy link

Leolik commented Mar 17, 2013

After using "Add/Remove breakpoint" nothing happened :(

Ubuntu 12.10
I tried all versions Chrome for linux: stable, beta, dev

@sokolovstas
Copy link
Owner

Chrome Debugger just give me URL of file, then I mapped this url to real file just by path trying to suggest real path, this is not prefect but only one way to do this.

Please try on some simple app with simple file names

@Leolik
Copy link
Author

Leolik commented Mar 17, 2013

I didn't understand the previous comment. May you, please, write steps, what I should do for fix breakpoints?

@sokolovstas
Copy link
Owner

Try breakpoints on some simple project like index.html and one JS file. All files must be added to project.

@Leolik
Copy link
Author

Leolik commented Mar 17, 2013

Yes, you right. I try breakpoints on simple project and all work fine

@dennieriechelman
Copy link

Just my two cents. For me it also works with just a index.html and a js file. But this is for me not a realistic situation. If a try to use it in Laravel and load the js in the view it does not work. How could this be improved?

@shfx
Copy link

shfx commented Mar 19, 2013

Mabe you can use this strategy:

If a file is recognised both in chrome and SublimeText then use natural breakpoints.
if that failed then paste "debbuger;" statement into selected line.

I use debugger statement quite often mostly because we write coffeescript, compile it to javascript, then join all .js files into one app.js

@cled
Copy link

cled commented Mar 22, 2013

has anyone figured out an easy way to get breakpoints working in complex projects?

@sokolovstas
Copy link
Owner

I have a project with 84 js files and almost 1Mb of pure JS code, and I test my plugin on that project

@sokolovstas
Copy link
Owner

@shfx look at my comment on coffee script support, I try to support it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants