pycharm-evaluate-async-code
pycharm-evaluate-async-code copied to clipboard
Finally, you can use await in evaluate expression 💪
Basically if you try and await in a console you get SyntaxError: 'await' outside function - I use a virtual environment - used to work beautifully before upgrading pycharm ....
I'm getting this warning with Python 3.10 (didn't happen with Python 3.9): ``` C:\Users\xxx\AppData\Roaming\JetBrains\PyCharm2022.1\plugins\evaluate-async-code\_pydevd_async_debug.py C:\Users\xxx\software\JetBrains\PyCharm\plugins\python\helpers\pydev\pydevd.py --module --multiprocess --qt-support=auto --client 127.0.0.1 --port 51025 --file uvicorn main:app --port 19002 --log-level debug C:\Users\xxx\AppData\Roaming\JetBrains\PyCharm2022.1\plugins\evaluate-async-code\_pydevd_async_debug.py:243:...
In all my Django projects opens Python console instead of Django console, after I enable the plugin. Pycharm 2022.1.3 Plugin version: 1.119 After disabling the plugin, everything is back to...
When start app using docker interpreter and stop in somebreakpoint there is SyntaxError "await outside function" Project configuration:  Code for test: ``` import uvicorn from fastapi import FastAPI app...
Thanks for the excellent plugin here is my code for the test ```python import asyncio async def main(): await asyncio.create_subprocess_exec('C:/Windows/System32/cmd.exe') if __name__ == '__main__': asyncio.run(main()) ``` traceback : ``` C:\Users\X\scoop\shims\python.exe...
## After installing the plug-in, the following error will appear when running the following code in debug mode: --> attributeerror: 'playwrightcontextmanager' object has no attribute '_ playwright' ## The complete...
If you could point me in the right direction I might be able to implement this myself and add a PR. Thanks in advance
could you please check the possibility of adding support for evaluating async js code
See crash log here sometime: java.lang.NullPointerException: super.evaluate(expression, execute, doTrunc) must not be null at com.uriyyo.evaluate_async_code.AsyncPyDebugProcess.evaluate(AsyncPyDebugProcess.kt:33) at com.jetbrains.python.debugger.PyDebuggerEvaluator.lambda$doEvaluate$0(PyDebuggerEvaluator.java:59) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:246) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at...