dpo / atom-python-debugger

IDE-like Python debugger for Atom
MIT License
42 stars 13 forks source link

Error using open(filename, 'w') with debugger #50

Open taylars opened 6 years ago

taylars commented 6 years ago

open(filename, 'w') works when running normally, however IOError: (2, 'No such file or directory', filename) is given when running using the debugger

thealienthing commented 5 years ago

I'm also having this problem. This error doesn't occur when running the script via terminal.

The temporary solution I have found is to write the absolute path from root. Seems the debugger sets a different working directory but I don't know how to declare a local relative working directory.