Hi, I have a video teaching how to setup web2py launch and debug in vs code.
It is in Portuguese, but you can activate english subtitles, and it is also 
to see what I do in the video.
https://www.youtube.com/watch?v=4LSy5VuLqCQ

Em sexta-feira, 17 de setembro de 2021 às 05:21:04 UTC-3, 
muratkas...@gmail.com escreveu:

> Hi Monir,
>
> I have to explain my env in other words. Before start, you can finish 
> vscode and python setup:
>
> my pc environment is 
> win10/pro, 
> python :3.8.5  (not virtual env)
> vscode 1.60.0
>
> steps:
>
> 1. download web2py *source *code and  extract it to the desired folder.
> 2. open the vscode
> 3. open the folder you extracted web2py source.
> 4. create a *.vscode* folder and copy these files:
>
> *launch.json*
> {
>     "version": "0.2.0",
>     "configurations": [
>         {
>             "name": "Python: Current File",
>             "type": "python",
>             "request": "launch",
>             "program": "${file}",
>             "console": "integratedTerminal"
>         }
>     ]
> }
>
> *settings.json  *
> {
>     "python.pythonPath": "C:\\your_python_folder\\python.exe",
>     "debug.allowBreakpointsEverywhere": true
> }
>
> 6. Press F5 or select link from Menu>Run>Start Debugging
>
> I think it will start. Whenever select any row on the code for debug, it 
> will stop.
>
> Can you try and inform me whether the info is working.
>
> Regards,
> Murat.
>
>
>
> K P <kenwyn...@gmail.com>, 17 Eyl 2021 Cum, 03:06 tarihinde şunu yazdı:
>
>> Hi Murat
>>
>> I need some help setting up web2py in vs code also. I tried what you said 
>> (and many other things) but none worked. Please help. 
>> (Yardim Edibilur)
>>
>> On Tuesday, September 10, 2019 at 3:03:55 AM UTC-4 muratkas...@gmail.com 
>> wrote:
>>
>>> Hi,
>>> I work with VSCODE like this:
>>> - Open folder includes web2py.py file.
>>> - Insert some debug point to desired lines
>>> - Press F5 
>>>
>>> Also my environment: 
>>> Windows 10 Pro
>>> Web2py Python 2.7
>>> (maybe Py 3> works same.)
>>>
>>> Best.
>>>
>>> -------------------------------
>>> Murat KAŞIKÇIOĞLU
>>> +90 (533) 745-1400 <+90%20533%20745%2014%2000>
>>>
>>>
>>>
>>> Monir <monir....@gmail.com>, 4 Eyl 2019 Çar, 18:55 tarihinde şunu yazdı:
>>>
>>>> Hi All,
>>>>
>>>> I'm new on Python and also on Web2py. I've been searching some sort of 
>>>> info or step by step about how to config web2py in VS CODE to Debug, Lint, 
>>>> Intelisense, etc... would be nice!
>>>>
>>>> But unfortunately, all resources I have found so far seems to be 
>>>> deprecated. Even here in the group, this seems to be not relevant topic. 
>>>> Am 
>>>> I wright ?
>>>>
>>>> I had downloaded Don Jaimanne extension, Pylint, etc without success.
>>>>
>>>> I would be more than happy with some fresh guide for this
>>>>
>>>> Regards/
>>>>
>>>> *Monir*
>>>>
>>>> -- 
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to web2py+un...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/web2py/CAPMO4iG4HbFnspELy7_uT077RNTAadvzYcAm4mztcJM02Nu3CQ%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/web2py/CAPMO4iG4HbFnspELy7_uT077RNTAadvzYcAm4mztcJM02Nu3CQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/66037040-8383-4ea2-8208-f9becdf4a4e4n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/web2py/66037040-8383-4ea2-8208-f9becdf4a4e4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/e07da1b4-aadd-404d-8f17-3254b65d0c51n%40googlegroups.com.

Reply via email to