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

Requires local copy of file to debug #92

Open
danmoseley opened this issue Jul 6, 2015 · 1 comment
Open

Requires local copy of file to debug #92

danmoseley opened this issue Jul 6, 2015 · 1 comment

Comments

@danmoseley
Copy link
Collaborator

Currently it only consults the list of folders in the Sublime "project" (eg., from doing File>Open Folder) when it tries to map an open file to a URL. This means if you just open a file directly, you can't set a breakpoint in it.

Two possible fixes -

  • When toggling a breakpoint in a file that doesn't have a mapping, attempt to use the file's path to come up with a mapping right there.
  • Broader change: whenever a mapping is needed, ie., whenever a break is hit -- or whenever a new file is opened -- attempt to use the open files' paths to augment the mapping table.

Workaround noted here

@danmoseley danmoseley added the bug label Jul 6, 2015
@danmoseley danmoseley modified the milestone: 2.0 Jul 6, 2015
@danmoseley danmoseley changed the title Breakpoints can't be set in files opened "directly" Requires local copy of file to debug Aug 2, 2015
@danmoseley danmoseley added enhancement and removed bug labels Aug 4, 2015
@danmoseley
Copy link
Collaborator Author

It now consults opened files, as well as folders (6baa344) but still needs to fall back to pulling the script from the browser.

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

No branches or pull requests

1 participant