-
Notifications
You must be signed in to change notification settings - Fork 6
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
Doesn't work in VSC 1.11.1 on Mac #16
Comments
Add those to you "verboseDiagnosticLogging": true,
"diagnosticLogging": true Then run it again and copy the output here. |
Thanks for the reply. Here is my debug log (a very long txt): Verbose logs are written to /Users/james/.vscode/extensions/vscode-phantomjs-debug.txt I installed my phantomjs with following command line (install it globally): And above command line will install it in my folder: and create a soft link in this folder: Hope this information will be helpful. |
If phantom.exit() is not called, SIGINT is not killing the phantomjs process. Replace SIGINT with SIGKILL (I'm not sure if this is desired) in PhantomjsDebugAdapter.js and it works. |
@jamesliu668 which version of PhantomJS are you using ? |
I have the same issue on MacOSX 10.11.5, VSCode 1.14, Debugger for PhantomJS 0.1.1, PhantomJS 2.1.1 (installed by brew install phantomjs): Here is my launch.json: test2.js: Here is my detailed log: Anyone have any idea why it's failing? Thanks |
Seeing this as well. VSCode: Version 1.18.1 (1.18.1)
|
This seems to happen because the phantomjs process isn't closing correctly, and trying to open a second process gets this error. If I force kill any open phantomjs processes the run option works, but stopping and running again will bring the error back until the kill the orphaned process again. |
Every time this happens I have to do |
Hello,
I am working in VSC version 1.11.1 and install the "Debug for PhantomJS 0.1.1". When I click the debug button, I get following error message:
Here is my debug launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "phantomjs",
"request": "launch",
"file": "${workspaceRoot}/test.js",
"webRoot": "${workspaceRoot}",
"runtimeExecutable": "/usr/local/etc/phantomjs/bin/phantomjs",
"runtimeArgs": [],
"scriptArgs": [],
"sourceMaps": true
}
]
}
The text was updated successfully, but these errors were encountered: